rdiff-backup
From Gentoo Wiki
rdiff-backup is a GPL-licensed incremental backup utility based on librsync; it stores changes to files instead of entire duplications. This can greatly reduce storage requirements for backups. The resultant incremental data can be viewed and restored from as if it were whole file backups via FUSE-based rdiff-backup-fs.
Contents
Installation
Unmasking
root #echo -e 'app-backup/rdiff-backup\nsys-fs/rdiff-backup-fs' | tee -a /etc/portage/package.accept_keywords{,/rdiff-backup} 2>/dev/null | tee -a /etc/portage/package.unmask{,/rdiff-backup} >/dev/null 2>&1USE flags
Cannot load package information. Is the atom app-backup/rdiff-backup correct?
Emerge
root #emerge --ask --verbose --tree rdiff-backup rdiff-backup-fsUsage
Backup
user $rdiff-backup path/to/source path/to/backup/destinationTo backup again, simply run the exact same command; each increment will be individually accessible.
Restore
user $rdiff-backup-fs path/to/mount/point path/to/backup/destinationuser $cp -p path/to/mount/point/YYYY-MM-DDTHH\:MM\:SS/some/thing where/ever/user $fusermount -u path/to/mount/pointcron
user $crontab -eCODE
0 3 * * * rdiff-backup /path/to/source /path/to/backup/destination
See also
- Obnam — an easy to use, snapshot capable, FOSS backup utility that supports encryption and deduplication.