Rdiff-backup is a robust and well-documented tool for performing reverse differential backups. It is particularly well suited for using Linux and SSH to perform incremental backups of remote Linux systems.
This onezeroone.dev script automates the use of
rdiff-backup to perform incremental backups of one or more remote Linux systems over SSH to a dedicated local volume. It will:
- Mount a volume dedicated for
rdiff-backupagainst the specified remote host, backing up a default set of directories along with any additional directories specified on a per host/job basis.
- Remove increments older than the configured age.
- Unmount the
- Perform a weekly
For documentation and setup steps, please see readme.md.