Full WHM / cPanel Reseller Server Backup Script

by Paul on November 28, 2011

Updated Version Available

A new version of this script has been made available that supports deleting old backups, the new cPanel updates, and more. You can learn more details about this new WHM/cPanel backup program here.

Now you can backup and FTP your complete Reseller Server WHM Hosting account using our custom built PHP script!

A short while ago we released a free cPanel Hosting Backup Script to the Host Like Toast Developer Channel. If you only have 1 or 2 web hosting accounts, then that is the script for you.

However, we know that it’s difficult or otherwise costly for small time resellers to backup the data of all their clients and websites. Now you can backup and even schedule using CRON easier than ever before!

How does the WHM Reseller Backup Script work?

This particular script uses the native cPanel API to make the necessary calls to the server system. There is no HTML parsing – if you run the supported version of WHM/CPanel, this will just work.

The steps necessary to getting this script to work are as follows:

  1. Download the script (after you purchase it)
  2. Open the following file in your favourite text editor: perform_whm_fullbackup.php
  3. Add a comma-delimited list of domain names for which to backup (if left blank, all domains will be backup up)
  4. From line 39 ~ 43, enter the details of your WHM/CPanel server.
  5. From line 46 ~ 53, enter the details of the FTP server to which all backup files will be sent.
  6. Upload the script to your webspace and execute.

The WHM/CPanel Reseller Account Backup Script is that easy!

How much does the WHM Reseller Account Backup Script cost?

Most items in the Developer Channel are free. This is because most items are for use by individuals or small business.

The WHM reseller backup script is for resellers and businesses and we feel it only fair that they should help contribute to the development of this script.

Currently, at the time of writing the script will retail for £47 and there is no refund policy. There are 3 reasons for this:

  • We know it works and performs the sole function as advertised.
  • Providing refunds for this product isn’t practical because once you have downloaded it, you can use it and share it wherever you want.
  • It is functionally based on the first cPanel backup script. A prerequisite to buying this script is the agreement that you have downloaded the free script and successfully backed-up a site on the server you intend to use this new script on.

How is the WHM/cPanel Reseller Account Backup Script Licensed?

The script is licensed under the open GPL licensing model. This means you are free to take this script and distribute it as you wish.

You can add to it, remove things from it, delete, print it and eat it, and anything else you can imagine.  You can even give it away for free. This, while not illegal, is just not very nice.

Regardless of whatever you decide to do with it, you must retain the full header of the file outlining the original license details. You may not remove these notices and distribute it under your own name.

We trust this is fair.

How do I buy the WHM/CPanel Reseller Account Backup Script?

To get immediate download access to this script, please use the buy button below.

Before purchasing this product, the following conditions must be agreed upon:

  1. You completely agree to the Host Like Toast Developer Channel Terms and Conditions and understand that under any circumstances you may not hold Host Like Toast liable for any losses/damages related in any way whatsover to use of this script.
  2. You have already joined the Developer Channel, downloaded the cPanel backup script outlined in this article and successfully performed a complete backup of a single domain. If you have not done this before purchasing this script, you are wholly responsible for any problems you experience with this backup script. If in doubt, test with the free script and contact us if you have problems then.
  3. You understand that refunds are not a policy for this product in general. You may contact us to explain your situation, but our intention here is to share a script that we developed and use for a specific purpose, at the absolute minimum cost. Otherwise we would ask you to pay much more than the current asking price.
  4. You need this only if you are a CPanel Reseller hosting provider with multiple sites to backup.
  5. If you experience problems contact us and we will attempt to resolve them if it is an error with the script. If it is a problem with your environment, this is your responsibility – see point 2 above.
Sorry, this version is no longer available. Please see the details of the updated version of this script

If you are not yet a member of the Host Like Toast Developer Channel, you may do so by filling in the form below for free.

Use the form below to join our Developer Channel

Do you need an automated CPanel web hosting backup script? There is that and more in the Developer Channel

{ 11 comments… read them below or add one }

Ed June 5, 2012 at 11:52 pm

Hi peeps, nice script,

However I can only seem to get it to run with a domain list, not all domains. (console pauses for a while then exits with no errors/output) What am I doing wrong.

(Starting script from reseller bash prompt) php perform_etc.php

Reply

Ed June 6, 2012 at 12:11 am

Seems the values that returns when no domains are listed in the limit backups array are no good, can you confirm? Cheers

Reply

Paul June 6, 2012 at 7:54 am

Hi Ed,

Can you send us whatever information you receive from the console … anything. Even the script you use – blank out your password of course. Just so we can give it a once over.

Without seeing your environment it’s almost impossible to troubleshoot these.

Have you tried starting the script any other ways except from bash?

If you go here (http://www.hostliketoast.com/help-support/) , and then click on the ‘Email Us’ link we can start talking better.
Cheers
Paul.

Reply

Christy August 28, 2012 at 8:49 pm

Will this script work to send files to DropBox instead of FTP to another server?

Reply

Paul August 29, 2012 at 10:31 am

Hi Christy,

Thanks for the question… currently no. The script simply uses the FTP functionality built into the cPanel API for backups.

However, we recently created a new service that’s currently free because it’s in beta called: FTP2Cloud. With this, you can FTP to your FTP2Cloud account and it will automatically transfer it to Rackspace, Google Cloud Storage, or Amazon S3 – Dropbox isn’t currently support because it uses a different authentication mechanism that will take longer to develop.

I hope that helps you. Feel free to sign-up at http://www.FTP2Cloud.com

Thanks,
Paul.

Reply

Christy September 2, 2012 at 9:30 pm

Thanks Paul,

In looking at other WHM script requirements some require that you have root access to WHM — I have a reseller account, not a VPS or dedicated server. Am I still good with your script? It’s working great on single domains. I just want to make sure it will play with my reseller account (no root access) before purchasing.

Christy

Reply

Paul September 2, 2012 at 9:39 pm

Hi Christy,

This should work fine on reseller accounts- it was for resellers mainly that it was created.

I can’t guarantee it with all systems though – one test you could try is on the single domain script, use your main reseller account credentials to backup another domain – this should work. You don’t need root access, just the main reseller account credentials.

Let me know if you have any other questions.
Paul.

Reply

Scott December 5, 2012 at 1:13 pm

Hello,

Very interested in this script – is it possible to have it “clean up” old backups?

A retention schedule feature would be very useful!

Reply

Paul December 5, 2012 at 9:15 pm

Hi,

Thanks for the comment and the suggestion.

The code isn’t written that would do this, but I may be able to achieve it soon.

If you need a good backup system and you run a WordPress site, you should check out WorpDrive WordPress backup system.

Cheers,
Paul.

Reply

AL December 11, 2012 at 7:14 pm

Interesting..
Does it support sftp?

Reply

Paul December 12, 2012 at 3:50 pm

It supports all the cPanel backup copy options, and that’s FTP and secure SCP.

Thanks,
Paul.

Reply

Leave a Comment

Previous post:

Next post: