When crashplan is too expensive, you rewrite shell scripts
sudo apt install git make rsync ssh rsysloggit clone https://github.com/supaplextor/rsyncplan.gitcd rsyncplanmake clean init releaseormake clean init release-allsudo make gnu-installor# make bsd-install
# rsyncplan rsyncplan-plus201.rollback.cloud
It will fire off one ssh connection and close to grab most recent directory list. Next it will call rsync. You're advised to setup a ssh config entry for the remote root shell. This allows passwordless login via ssh keys.
We collect a ls -1d and parse present directories as --link-dest= args
- /backups
- /backups/machine-name/rootfs/YYYY-MM-DD_HHMMSS_NS
Server side (say the above with sshd, rsync) can use
hardlinks with recent yyyy-mm-dd attempts
to keep disk space use lower between different snapshots.