Wanting to bring the growing community together, we’ve recently opened a new community discussion forum at ,
If you need support or have a web hosting/backup provider you’d recommend then please open a topic and let our growing community know.
Free, Opensource cPanel Reseller Backup Automation Script
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.
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.
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 automatically chooses either API1 function fullbackup if your cPanel version is <78 or the latest UAPI functions fullbackup_to_ftp; fullbackup_to_homedir; fullbackup_to_scp_with_key or fullbackup_to_scp_with_password if your cPanel version is >78 to perform a full backup of each account.
For more information about how the script works, head over to our blog post.
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.
The requirements are pretty standard for the majority of cPanel resellers.
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 peter@whmbackup.solutions. 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.
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.
Wanting to bring the growing community together, we’ve recently opened a new community discussion forum at ,
If you need support or have a web hosting/backup provider you’d recommend then please open a topic and let our growing community know.
This is an important update which brings the WHM Backup Solutions script up to date with the very latest offerings from cPanel. The script now supports the UAPI full backup API’s implemented in cPanel Version 11.78. But more importantly, it maintains support for legacy methods using automatic version detection. Simply update your script and as your web host updates your cPanel server, the...
FTP Remote Directory Creation/Verification Moved From Generate Backup List to Running of Each Backup.FTP Remote Directory Creation Can Now Create Custom Directories Based On Username & Date For Each Account.Include PassiveFTP Functionality On FTP Verification.FTP Retention Script Updated With Custom Directories Functionality.When Checking For Updates, The Script By Default Will Automatically...
Migrating reseller accounts from one server to another has always been a slow and arduous when you don’t have root access on the existing web host server. There have been numerous requests to cPanel to include such a feature to resolve this problem all without success.We’ve come to offer a much simpler approach using WHM Backup Solutions Backup Script: Install the WHM Backup Solutions...