How to use rsync

The last rsync line above assumes you have a Cron Job which backs up your database each day.