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 a folder with one big file. This is a file that changes each day. Using tar for incremental backups is not a good idea as that big file (each file that is changed is saved) will be copied each day that an incremental backup is made.

Is there an application that makes a diff of two binary files (a differential backup)?

Thanks.

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

rsync will make a full backup, but by copying only changes (if you don't care so much for storage space, its I/O that matters to you).

Alternatively, there's rdiff or xdelta that will work for binary files, your mileage may vary depending on where the changes occur inside the binary file to result in efficient changes or not. XDelta should work well for you though.

share|improve this answer
add comment

Look into duplicity as a way to do incremental backups.

share|improve this answer
    
What do you precisely mean? –  user28362 Aug 19 '10 at 7:30
add comment

I found bsdiff here but I have never tried it and according to the developer it's a very memory hungry app...

Hope it helps you and let me know how it works out for you.

share|improve this answer
add comment

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.