The script below is triggered every day from my Mac. I use Hazel to move the tar.gz to an external hard disk once it's finished. This happens every day without me noticing.
You should have a similar script.
rsync -a --del -e ssh [email protected]:~/webdirectory/ ~/myname/Dropbox/Backups/webapps | |
cd ~/myname/Dropbox/Backups/webapps | |
dt=$(date +%y%j) | |
tar czf webapps$dt.tar.gz webapps |