Backup Server with rsnapshot

4 Feb
2010

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:

  1. Snippet: copy ssh key to server in one line

Comment Form

top

Switch to our mobile site