If your having issues and the documentation on the Installation or Configuration pages can’t resolve your answer, before you get in contact with us just take a look through our troubleshooting guide below to see if your issue has already been answered.
php -q /home/user/whmbackupsolutions/whmbackup.php generateThis first cron job creates the list of accounts to be backed up and is run when you want the backup to be scheduled. The second cron job runs
php -q /home/user/whmbackupsolutions/whmbackup.phpwithout the generate in the path. This is run every 10 minutes, if a backup is to be created or not. What happens is every 5/10 minutes the second cron job runs. This checks if an account needs backing up, if not it just stops and checks again in 10 minutes. However! If the first cron job has run and has created a list of accounts to backup. When the second cron job next runs it will realise that there are a list of accounts to be backed up and it will pick the first account on the list. It then asks your cPanel server to backup that account, and takes that account off the list of accounts to be backed up. 10 minutes later, the next time the second cron job runs it picks the next account to be backed up and so on. If your only having the first account (In alphabetical order) backed up, then chances are your second cron job hasn’t run enough times to back up the remaining accounts. To fix it, check your cron job is running every 10 minutes or try run the whmbackup.php script via SSH or the web browser.
<?php $_GET = array("generate" => TRUE); include("whmbackup.php"); ?>Your cron job should then run
php -q /home/user/whmbackupsolutions/whmbackup-generate.phpinstead of
php -q /home/user/whmbackupsolutions/whmbackup.php generate