I have two servers.. One has websites running and other have backup of those websites.. I need to synchronize the servers every week such that the files that were updated or changed after the previous backup schedule should only be updated the next time the backup runs.. The backups are kept in tar format(eg. hellowebsite-12-03-2011.tar.gz) in the backup server. How can I check whether the files were updated or not if the files are in tar format?

  • What OS are the servers? What ever of rights do you have on them? What sort of connectivity between them? – mrdenny Sep 15 '11 at 7:32

Use rsync to handle your backups and use tar in a post processing step for what it is: an archiver.


Instead of re-inventing the wheel, you should use one of the various solutions for incremental backups.

My favorite for this purpose is rsnapshot.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.