Hard Drive backup AND Remote FTP Backup

andy7t

Active Member
Dec 22, 2003
25
0
151
Hi,

What i'd like to do is this:

Daily: Backup all accounts etc to my second hard drive, mounted /backup.
I've got this bit working fine, but what i'd also like to do:

Every 2/3 days: Backup all accounts in a .tar.gz form to a remote server via FTP

I know cPanel can do both of these seperatly, but how do I get them to do this at the same time?

Do I have to make a little script and run crontab every 2/3 days to do this?
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
andy7t said:
Do I have to make a little script and run crontab every 2/3 days to do this?
Yes, you need a script that will run every time you need to backup, and rsync your data to a remote server. FTP is not the best method to transfer data.
 

arabnas

Registered
Aug 13, 2006
1
0
151
Hello,

Is it that easy to let WHM make a copy of weekly backups to the ftp space on the local network in the same datacenter ? that's mean it should use different lan card than the public one such as eth0 or eth1, If so please advice with a little tips on how to do it without effecting the regular WHM backups in any way.

Regards.
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
as stated above "rsync your data to a remote server. FTP is not the best method to transfer data"

use rsync or scp over SSH most set ups use eth1 as the private device but only you would know