Best compression of similar files

compression

I've got a few full old backups of things like binary database dumps. Obviously, they don't differ much so doing full backups is not the smartest idea here. For now, I'm looking for a compression program capable of taking an advantage from the fact, that most of the files have a similar content.

Best Answer

If you first tar the files (using tar cvf my_backup.tar <file list...>) then any compression tool will do a good job as they will see the data as one big file.

So just tar the files, and then put them in a zip, 7-zip, bzip2, etc. From the tar file, you can try the different compression algorithm and see which one performs best.

Related Question