Backup with mixed incremental and differential strategies

backup

I need script that help me to backup my network's files on the server, using mixed strategy of incremental and differential. 'tar' can do something like that but the problem is extracting the about 30Gb file is time consuming and in not efficient. I think there should be a method that can backup files and their indexes in two different files, as a consequence in the case of disaster, I can find easily the required files in the index file and then extract them.

Best Answer

Have you taken a look at rdiff-backup?

http://rdiff-backup.nongnu.org

rdiff-backup backs up one directory to another, possibly over a network. The target directory ends up a copy of the source directory, but extra reverse diffs (ie. differential backup) are stored in a special subdirectory of that target directory, so you can still recover files lost some time ago.

The idea is to combine the best features of a mirror and an incremental backup.

rdiff-backup also preserves subdirectories, hard links, dev files, permissions, uid/gid ownership, modification times, extended attributes, acls, and resource forks.

Also, rdiff-backup can operate in a bandwidth efficient manner over a pipe, like rsync. Thus you can use rdiff-backup and ssh to securely back a hard drive up to a remote location, and only the differences will be transmitted. Finally, rdiff-backup is easy to use and settings have sensical defaults.

Related Topic