Over the past few years cPanel has been transitioning all API 1 and 2 calls over to their newer UAPI with the intention of removing API 1 functionality by cPanel & WHM version 88 (anticipated in the second quarter of 2020). What does that mean for us? Due to cPanel only slowly migrating functionality across the WHM Backup Solutions script currently uses the API 1 to create full account...
Protect Your Reseller From Data Loss
If you have your own cPanel reseller account, then there’s a high chance that your web host manages the backups for all your cPanel accounts held within your reseller. Do you know how often they take backups? What precautions they take to ensure your website data is safe? Do you know what would happen in the event that your web host closed down?
Take control of your website backups with WHM Backup Solutions, a FREE and open source PHP script that allows you to schedule backups of all accounts within a reseller storing backups safely within the account home directory, a remote FTP server or even remote SCP storage.
Download Script For FREE
In Simple Terms What Does The Script Do?
Simply put the script once setup asks your cPanel server to create a 100% full backup of each cPanel account within your reseller at the time of your choosing, the backups are then transferred from your cPanel server to either the account home directory, an FTP server or even an SCP server for storage
How Does This Script Work?
Using PHP we can communicate with the cPanel server’s using an Application Programming Interface (API). This is functionality the developers of cPanel have built in to allow external scripts to run functions on the cPanel servers.
What this script does is uses the listaccts API to retrieve a list of accounts within the reseller and then loops through each account and uses the fullbackup API to perform a full backup of that account.
For more information about how the script works, head over to our blog post.
Is It Really Free?
Yes, 100% FREE! The script is released under the opensource GNU GPL-3.0-or-later license, which for those who only want the highlight means, the entire code is accessible, available to edit and released for free. The only limitation is that any variants must also be released for free.
Want to see the code? Head over to out GIT repository.
What Else Do I Need?
The requirements are pretty standard for the majority of cPanel resellers.
- cPanel/WHM Reseller Account
- Be able to List Accounts within your Reseller.
- Be able to click the cPanel logo on the List Accounts page and log into a cPanel account.
- You must also have PHP 5.6 or above (If you don’t then you urgently need to contact your web host to upgrade you to PHP 7+)
- PHP should also have the following extensions enabled: CURL & FTP (FTP only required if your using the FTP retention script).
What Do I Do If I Need Help?
The script is developed and supported by me! (Peter Kelly). I regularly review and test the script and I am easily contactable via our Facebook page, Twitter or email [email protected]. However, please try to understand that I have a full time job so my replies may take up to 48 hours. If for some reason I don’t respond within 48 hours, please feel free to give me another nudge.
What Do Other People Think?
As people have used the script we’ve reached out and asked for them to post their thoughts on the script on our TrustPilot page. This has led to a 100% Excellent rating! Don’t believe us check them out yourself.