#!/bin/bash
## Rsync File Backup Script
## Version 0.1
## License pending
##
## This script PULLS backups. It should be run on the server
##storing the backups.
##
## You need to create a ssh keypair between the two servers
## for this to work properly!
##
## Variables go here!
# Exclude line
# (Must be in the format of: ” –exclude file1 –exclude dir1″ etc.)
exclude=” –exclude aquota.user –exclude vpopmail”
# rsync switches (see rsync –help or man rsync for more information)
rswitch=” –archive –delete –compress -vv –rsh=ssh”
# Local backup …