Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
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

2 Answers 2

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

share|improve this answer

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

My favorite for this purpose is rsnapshot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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