Portal Home > Knowledgebase > Articles Database > Backup Question...
Backup Question...
Posted by HowardB, 08-06-2006, 01:56 PM |
Is there a way I can do a complete local backup of all my accounts?
I'm using WHM, and would just feel more secure having my own copies of my account's files and cPanel data.
Thanks.
|
Posted by CyberHostPro, 08-06-2006, 02:11 PM |
to the best of my knowledge WHM does not give resellers a way to do their own automated backups. The only way would to go in to each cpanel account and run backups manually.
As i say this is to the best of my knowledge and i could be wrong.
|
Posted by ScottJ, 08-06-2006, 04:17 PM |
Your host could setup a rsync setup to backup your accounts remotely, but to make automated local backups would be a very difficult process.
|
Posted by foobic, 08-06-2006, 09:05 PM |
I don't think there's any way for a reseller to download a single complete backup of all your clients' data - you need to backup each client account individually.
rsync works for this provided SSH is available on the client accounts. Alternatively you could set up a script to grab CPanel backups of the client accounts, ideally using your WHM remote access key (I'm not sure if the key would work in this case - if not you'd need to store your reseller password). However you do it the backup account needs to be kept very secure...
HTH
|
Posted by cartika-andrew, 08-06-2006, 09:27 PM |
Hello,
there are several automated backup tools you can use.
First off, you can use a cron based mysql backup script to backup all DB's to your FTP space...
You can then use one of the many FTP scheduled backup programs available to schedule the backup of all of your domains data (including any of the previously mentioned mysql backups) to your local PC
Hope this helps...
|
Posted by Shaw Networks, 08-07-2006, 03:21 AM |
Rsync would not be possible with the far majority of reseller accounts and an automated process is impossible. The owner of the dedicated server would need to setup the backups for you.
|
Posted by foobic, 08-07-2006, 03:56 AM |
1. rsync works just fine at user level, given ssh access. Are you saying that the far majority of reseller providers don't offer ssh? (May be so, I'm only interested in those that do...)
2. Anything that can be done can be automated
|
Posted by domaincart, 08-07-2006, 07:56 AM |
Reseller accounts don't allow this.
|
Posted by ScottJ, 08-07-2006, 10:27 AM |
That's why I said your "host" could setup rsync for you.
|
Posted by DaKine, 08-07-2006, 11:00 AM |
WHM does not allow you to do backups. You will need root access to do what you want to do. The only way to do what you want is to backup each domain separately. I have a PHP script that works very well within cPanel. I have been using it for about a month now. It has worked flawlessly so far. What it does is initiates a full cPanel backup and puts it in the directory that you specify. Then it FTP's it to my server at home but it could very easily FTP it to any other server you may have on the net. If you know PHP you can change the script to e-mail the backup to you as well. You configure the cron job to run it as often as you see fit. I run all my backups early Saturday morning so when I wake up I have a recent backup so I can do any mods and updates that I need to do over the weekend. I offer this service to all my clients and most of my E-Commerce customers take me up on it.
PM me and I will send you a copy of it.
|
Posted by HostTitan, 08-07-2006, 11:26 AM |
Depending on your provider, they should be more than willing to accomodate this request. If they aren't, then they simply don't want to spend the time setting it up.
in example, for some of our clients, we have a cron script that creates a zip of the sites and databases which they want local copies of. It does take up cpu resources and is a supplement to the backups we take on their behalf. It offers them the peace-of-mind that they desire though and allows them to immediately restore files that they may have inadvertently altered without having to contact us to do it for them. So, in the long run, it may actually help make things more efficient for you and your end-user.
Last edited by HostTitan; 08-07-2006 at 11:31 AM.
|
Posted by SoftDux, 08-08-2006, 03:43 AM |
Can anyone recommend a good and reliable offsite backup provider?
|
Add to Favourites Print this Article
Also Read