bits about life, coding and stuff
rsnapshot is the TimeMachine for servers. Get it via macports.
Next, configure /opt/local/etc/rsnapshot.conf.
Change snapshot_root to a directory you like (probably within /Users/xxx/Backups/)
Uncomment cmd_ssh
Set the Backup Interval to
interval manual 20 (use tabs!)
Last, configure the server address. You want root for that, so be sure that public key auth is working on your remote machine.
backup root@yourserver.com:/ SubPathInBackupDir/ exclude=proc,exclude=sys,exclude=tmp
Done! Invoke with sudo rsnapshot manual.
Related posts: