Portal Home > Knowledgebase > Articles Database > cpanel remote backup


cpanel remote backup




Posted by ttgt, 06-15-2012, 09:30 PM
Hi, i want to backup my cpanel server to remote backup space or server, if my server has 50 accounts and the total files are 50GB, if i want to backup daily,weekly,monthly, i need to prepare about 50GB for the copy/backup ? or any better way to save my space and money ? thanx

Posted by greenreader, 06-15-2012, 09:51 PM
Cpremote software. It doesn't overload the server while backing up.

Posted by ttgt, 06-17-2012, 05:38 AM
Any other suggestion? Thanx

Posted by MilesWeb, 06-17-2012, 08:18 AM
Do you want to backup any specific data for accounts OR the whole account itself ?

Posted by ttgt, 06-17-2012, 08:26 AM
I want to backup each cpanel account.thanx

Posted by BeZazz, 06-17-2012, 08:45 AM
I use the cPanel backup and when it finishes it runs a script and rsyncs the backups to an off site server.

Posted by ttgt, 06-17-2012, 09:01 AM
But this way,your server will take two times to finish the copy,correct? Thanx

Posted by BeZazz, 06-17-2012, 09:43 AM
No, because only changes are sent to an off site server. Basically if no files had changed in the last 24 hours no files would need to be sent.

Posted by ttgt, 06-17-2012, 10:10 AM
but how can your script know the backup is finished on your cpanel server and begin to run rsyncs to remote server ? thanx

Posted by BeZazz, 06-17-2012, 10:39 AM
You create a file called postcpbackup in your scripts folder In that file you put the code you want to run when backups are complete. When you add the file "postcpbackup" there will be an option at the bottom where you configure backups saying "/scripts/postcpbackup" just tick that. Then everytime after cPanel runs backups it will then run the file "/scripts/postcpbackup"

Posted by ttgt, 06-17-2012, 11:05 AM
is it possible let whm/cpanel to backup to remote server via rsyncs account directly ? thanx

Posted by BeZazz, 06-17-2012, 11:19 AM
Not sure what you are asking sorry. Basically what I did/do. Is set up the server with clients and a server to hold backups in a trust relationship. Every time cPanel does backups, it runs a scripts and rsyncs changes over to the backup server.

Posted by ttgt, 06-17-2012, 11:24 AM
i think you backup on your server and then rsyncs the backup files to remote server,correct ? but i wonder if is it possible that let whm/cpanel to backup/rsyncs to remote directly. thanx

Posted by BeZazz, 06-17-2012, 11:43 AM
Yes correct. As far as I know (if I am understanding the question correctly). The server with the clients would still need to store the backups while the rsync occurs it could then delete the backups it holds.

Posted by snickn, 06-17-2012, 12:10 PM
There's also FTP based backup systems like Codeguard. Or cPanel plugins like SiteAutoBackup.com

Posted by ttgt, 06-17-2012, 12:19 PM
but what i want to backup is all the accounts on my servers,not only particular reseller or cpanel account only.thanx

Posted by snickn, 06-17-2012, 12:20 PM
Then rsync is your answer.. Maybe something like bqbackup http://www.bqbackup.com/setup.html

Posted by ttgt, 06-17-2012, 12:42 PM
this is used to backup entire server or particular folders,i can not to backup those data by cpanel account listing ? thanx

Posted by ttgt, 06-17-2012, 01:11 PM
is it possible mount remote server as particular partition of my cpanel server? thanx

Posted by ZenMonk, 06-22-2012, 01:48 AM
Yes use NFS for that.

Posted by racknap1, 06-22-2012, 10:36 AM
Hi, For scheduling backup, you need to do it from your shell prompt, get on there and set some cron jobs. Get a automated backup script and back it up.

Posted by jrianto, 06-22-2012, 12:42 PM
If you need to backup the cPanel accounts, you can use these automated backup scripts. If you need like the entire server configuration, not just the cPanel accounts, you need a server backup software/service like R1Soft. Backup scripts or services are intended for you to backup all your cPanel "accounts", which you can then use to restore to another cPanel server which is already configured and ready to go. You can't restore these cPanel accounts to just a freshly installed OS without WHM already installed on it. Hope that make sense. If it's for disaster recovery, it is better to go with an image backup solution, not file by file or account by account. That'll take much faster backup and restore, but intended for whole server restore, like when disaster happens or the whole server has been compromised.

Posted by Duff-Man, 01-19-2013, 04:14 PM
CodeGuard seems terrific.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
phpPgAdmin issues (Views: 644)