|
As (essentially) every Unix and Mac OSX system has cron installed, a robust, automated and efficient means of periodically backing up can be obtained by simply running rsync out of cron.
rsync comes installed on many flavors of Unix, and is part of the standard Mac OSX installation. If you need source to install it, it can be found here:
http://www.samba.org/rsync/
FreeBSD users can install rsync from the ports tree by:
# cd /usr/ports/net/rsync
# make install
There is also an excellent Mac OSX tutorial on rsync here.
Once rsync is installed on your system, a line like this added to your crontab:
0 0 * * sun rsync -avz -e ssh /some/directory/tree 1004@usw-s017.rsync.net:/1004/backups
will perform automated backups for you every Sunday night at midnight.
Remember, it is possible to generate an ssh key and upload it to the .ssh directory in your rsync.net filesystem, allowing you to perform passwordless logins to support automated backups such as this.
|