Backr2 is an incremental backup tool
- Incremental backups: only make copies of files that have changed since the last one
- Garbage Collection: old backups can be deleted without affecting new ones
- Portability: backups can be stored anywhere
$ rookie -i backr2
$ git clone --depth 1 https://github.com/18fadly-anthony/backr2
$ cd backr2
$ make install # Installs to ~/.local/bin
$ cd /foo/bar
$ backr2 -d # for first backup to set default location
$ backr2 # for all backups after the first
# Backup /foo/bar to /foo/backups
$ backr2.py --source /foo/bar --location /foo/backups
# Restore backup 1 of /foo/bar in /foo/backups to /foo/restore-location
$ backr2.py --restore /foo/restore-location 1 --source /foo/bar --location /foo/backups
# Delete old backups
$ backr2.py --garbage-collect --source /foo/bar
$ rookie -r backr2
$ cd backr2
$ make uninstall
$ cd ..
$ rm -rf backr2