Register now or log in to join your professional community.
Scripts, applications etc .
Salam Mohsin,
Sorry for getting back so late on this issue.. for that purpose you can use the tar , dar command along with diff command to verify the overwriting..
Although you wont find much of difference in tar and rsync command.
echo '----- Backup Started '`date` >>/root/backup/backuperrors.txt
tar -zcvf /media/a9f299d7-fcbc28b3f3c0/user-host`date '+%d-%B-%Y'`.tar.gz /etc /root /home2>> /root/backup/backuperrors.txt
but if you want to achieve incremental even decremental backup then my recommandation is dar.
check man pages on this. or read following url. :)
http://en.wikipedia.org/wiki/Dar_(disk_archiver)