OpenID
Log In | Register
Skip to main content
Topic: No Backups Required (Read 8197 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.
No Backups Required
I've installed the script like the instructions but keep getting "No Backups Required." when I run it from the web page. How do I fix it?

Re: No Backups Required
Reply #1
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 http://yourwebsite.com/whmbackup.php?generate

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 http://yourwebsite.com/whmbackup.php

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.

Re: No Backups Required
Reply #2
Thx I setup the Cron jobs and it started working.