Log In | Register
Skip to main content
Recent Posts
Change Log / V1.2
Last post by Pete -
The final build of 2019! Resolving a few issues identified as a result of users who've got in contact.

  • BUG FIX: cPanel API CURL Timeout Added.
  • BUG FIX: WHM port value was being ignored.
  • COMMENT FIX: $config['whm_port'] comment referred to this as the cPanel login port value. This should be the port used for logging into WHM as per the variable name.

For a full list of commits/changes, see
WHM Backup Solutions Script Support / Re: "Run Account Backup" Cron Timing
Last post by Pete -
Hi JCWacky,

Nothing bad will happen. The documentation guide refers to 10 minutes, to just reduce/balance out any backups. However, reducing this to even every 2 minutes shouldn't create much of an issue as behind the scenes. Each cPanel server is configured to only let backups be created when the server load is below a certain value (Set by your webhost or root user). If the server load is above that value it will simply be added to a queue until the server load drops enough for it to start processing backups.
WHM Backup Solutions Script Support / "Run Account Backup" Cron Timing
Last post by jcwacky -
The instructions state that the "Run Account Backup" cron should be set to run every 10 mins. Just wondering the reasoning behind this value and what would happen if I were to reduce it to 5 mins? Do bad things happen if it tries to back up the next account before the previous one is complete?

With 100 accounts, backing up one every 10 mins takes over 16 hours, so just wondering if I can reduce this time by setting this cron to run more often?

Feature Requests / SCP Retention Script
Last post by Pete -
For a while now, WHM Backup Solutions Backup Script has included not only the backup script but also a FTP retention script which allows you to maintain a certain number of backups on an FTP server. However, no such script yet exists for SCP.

Therefore a SCP retention script should be developed.
General Discussion / Forum Software Move
Last post by Pete -
After spending a bit of time setting up the forum using PHPBB, I decided there was too many issues/bugs and have therefore decided to move our support forum to ElkArte.

The only difference is that, if you have previously registered on the forum you will have to re-register.
WHM Backup Solutions Script Support / Re: No Backups Required
Last post by Pete -
Hi MaxHosting,

Welcome to the forum, on the documentation guide it lists 2 cron jobs.

The first is
Code: [Select]
php -q /home/user/whmbackupsolutions/whmbackup.php generate
This only needs to be run once a day/week/month etc, only when you want an actual backup to run.
You can run that cron job if you have put the script in a publicly accessible space e.g. /public_html/ by going to

The second is
Code: [Select]
php -q /home/user/whmbackupsolutions/whmbackup.php
This should be run every 5/10 minutes, when the first cron job is run it will backup an single account that's due it will then work through the list each time its run until all are complete. When no more accounts are due to be backed up, it will say "No Backups Required".
You can run that cron job if you have put the script in a publicly accessible space e.g. /public_html/ by going to

To resolve your error, you need to run the first cron job then run the second. This will then start the backups.
Id suggest you setup the cron jobs and then check the /logs/ folder, 30 minutes or an hour later. You should then have a log report appear.
Feature Requests / [UNDER DEVELOPMENT] Automated Installation & Configuration
Last post by Pete -
One of the common issues I support is with users having trouble installing and configuring the script. While all variables are documented on the website, many have never edited PHP files or setup cron job's before and become a little stuck.

What i'm proposing is setting up a form on this website that would have the user enter the details required to upload the script and configure it step by step without the user ever having to edit a file themselves. I would also have the form setup and configure the cron job's.

However, this would require the users entering the cPanel and WHM credentials onto this website. While I would NEVER store the details, and manual installation would still be available, I do understand if people think this would not be appropriate.

Could you please let me know if this is something you think would be appreciated or not. I'd love to hear any comments you have.
Feature Requests / [UNDER DEVELOPMENT] Ability To Backup Just 1 cPanel Account
Last post by Pete -
I've had several users approach me about whether the script can perform backups of just 1 cPanel account. As it currently stands the script requires a WHM login to retrieve a list of accounts, but the functionality to backup just 1 account is already there. Therefore it is my intention to modify the script to enable the backup of cPanel accounts that are NOT resellers.