The Laughing Cow
09-13-2002, 01:54 PM
I'm not a great expert in SSH or anything but I was wondering...
I have a resellers account on a Cpanel server. I was thinking is there anyway I could perhaps backup automatically every week from each of my hosted accounts to a seperate FTP server?
If anyone knows could you point me in the right direction of where to start.
Cheers
ffeingol
09-13-2002, 02:44 PM
You could create a script to ftp all the files to your backup site, but I would not suggest it. ftp sends the password across the network in clear text.
Take a look at "rsync". It only sends the changed files and uses SSH as a protocal.
Frank
akashik
09-13-2002, 03:59 PM
You might want to take a look at this too:
http://reoback.penguinsoup.org/
Ran across it a week or so ago.
Greg Moore
jahsh
09-13-2002, 04:12 PM
or use:
scp
which is a secure copy option
ffeingol
09-13-2002, 05:22 PM
jahsh,
rcp used scp (ssh) to do the copy. The advantage is that it only sends the files that changed and deletes the files on the recieving side (if you want) that were deleted on the sending side.
By only sending the changed files, you save a lot of transfer/time.
Frank
The Laughing Cow
09-13-2002, 06:00 PM
Thanks i'm looking through the mentioned methods. I would ideally like one that doesn't require any special componants or modules installed as I don't think I can do this as a reseller.
I'll report back
Cheers
ffeingol
09-13-2002, 06:32 PM
I'm pretty sure at least Red Hat ships with rsync. Try "locate rsync". OTOH, you should be able to compile/install your own copy even if it's not installed.
Frank