Magento 1.7 Scheduled Backup Not Working – How to Fix

backupdatabasemagento-1.7MySQL

I have a Magento instance and I have enabled Scheduled Backup in System > Configuration > Advanced > System > Scheduled Backup Settings. These are the settings I have:

 Enable Scheduled Backup: Yes
 Backup Type: Database
 Start Time: 1:00 am
 Frequency: Daily
 Maintenance Mode: No

The problem is that this setup doesn't do anything at all.
Do I have to do something else on the backend? Do I have to setup a cron job on the system?
Where can I check a log or something like that?

Thanks for your help

Best Answer

To make sure cronjobs are executed, start off by installing the excellent AOE Scheduler: http://www.magentocommerce.com/magento-connect/aoe-scheduler.html

After installing this you'll know whether cronjobs are running, which ones are and at what time.

If they aren't working please write in details what you have done so far to get cronjobs running. (what hosting are you on and what cronjob settings did you use).

Or:

An easier way to check if cronjobs are working is to edit /cron.php and add:

Mage::log('cron executed at: ' . date("H:i:s"));

This will add 'cron excecuted at: 20:43:30' to the system.log file in /var/log/ every time the cronjob runs.

Related Topic