rdiff-backup is a reverse differential backup tool
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 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 (if it is running as root), modification times, acls, eas, resource forks, etc. Finally, 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.
Read more on the rdiff-backup website.
rdiff-backup is available in package form across many operating systems.
apt-get install rdiff-backup
yum install rdiff-backup
- With homebrew:
brew install rdiff-backup
- With the Cygwin setup tool, install the
- With Chocolatey:
choco install rdiff-backup(and probably
choco install win32-opensshif you'd like to back up over a network)
The old README contains information about building from source.
Here are some basic examples. For more detail and information about restoring files, see these examples.
Local to local backup
rdiff-backup /some/local-dir /some/other-local-dir
Local to remote backup
rdiff-backup /some/local-dir email@example.com::/some/remote-dir
Remote to local backup
rdiff-backup firstname.lastname@example.org::/some/remote-dir /some/local-dir
Sol1 has taken over maintainership as of February 2016. We are currently in the process of migrating from the previous Savannah bugs database to the GitHub issues list in this repository. Current bugs are being triaged and migrated as we can.
If you think you've found a bug, please search both databases then, if you can't find anything, create a new issue.
Contributions are welcome. Fork this repo on GitHub, commit and open a new pull request accordingly.
rdiff-backup is released under the GNU General Public License.
Sol1 is the current maintainer of rdiff-backup.
Previous project leads / maintainers were Edward Ned Harvey, Andrew Ferguson, Dean Gaudet and the original author Ben Escoto.
Other contributors include Daniel Hazelbaker, Dean Gaudet, Andrew Ferguson, Josh Nisly and Fred Gansevles.