Web Hosting Talk







View Full Version : Backup scripts


WildWayz
11-15-2001, 09:24 AM
Hi ya

I have 2 HD's on my server and was wondering if any of you know an easy way to backup the data from one drive to the other.

What I want is this...

Mount 2nd HD prior to backup
Backup all CPANEL data/MySQL/home dir
Unmount 2nd HD when done

This can probably be done via TAR/GZIP and a Cron job - any other ideas?
Any scripts available to do this?

--James

HostingDirect
11-15-2001, 11:12 AM
On my last server I was using http://rsync.org/ and it seemed to work nicely. It is worth a look and best of all it is FREE!

WildWayz
11-15-2001, 11:33 AM
Thanks - will give it a go :D

Oh, does it still maintain file attributes/owners?

-James

HostingDirect
11-15-2001, 11:36 AM
As I recall it did, it was pretty much like making a mirror of the data and it would only resync changed data on the next run. I had it in set up to run in my cron daily.

WildWayz
11-15-2001, 11:42 AM
Thanks again :D

--James