Rsync backups
My own simple rsync backup ‘script’.
You’ll need a rsync server, something to backup, and ssh-agent running to ease the process (or, fill in your password each time).
Add the following lines (using a terminal text editor) to a text file (".rsync" for example, hidden files under Unix-like systems), and chmod +x $file.
rsync --archive -uv --exclude-from=/home/you/.rsync_exclude \
--rsh="ssh -p 222" --delete --stats --progress /Users/you/Documents/ \
you@remost.host.com:/home/you/remote-backup-directory
This will upload any files in /Users/you/Documents to /home/you/remote-backup-directory.