Last night I setup a backup scheme for a client, they have two Linux machines, a mail server and an intranet server, with no real backup….

I setup a little ‘rsync’ script, that uses SSH to copy data from one machine to the other. It’s all setup on the one server, it copies data off the remote machine, and also copies data to it.

The connection is encrypted and keys were generated for it all to happen automatically. excellent!

A cron job runs the script(s) as desired in the wee hours of the morning.

I sorta followed this guide, it’s excellent, and easy: http://troy.jdmz.net/rsync/index.html

Oh! and you can setup something like this for your Mac too (OS X has rsync built in, so cool). I’ll be setting up an automator workflow soon which will use rsync to backup data to an external hard disk, for another client. More info on this later

Trackback URI | Comments RSS

Leave a Reply