I have a Drupal 7 website running under IIS 7.5 on Windows Server 2008 R2.

I have manually used the Backup and Migrate module to backup my web site's database, but now I want to use the Drupal CRON capability to backup the database every day at 6:00 pm.

So here's what I did:

  1. In the Backup and Migrate configuration page, I clicked on the SCHEDULES tab and I added a scheduled backup.
  2. In the CRON configuration page I set RUN CRON = NEVER, and I copied the cron.php?cron_key web address
  3. In the server's Task Scheduler I added a new task to start Internet Explorer and display the cron.php?cron_key (and to terminate after 30 minutes)

The next morning when I view the CRON configuration page the LAST RUN indicates CRON was indeed run at 6:00pm the previous night, but when I check the Scheduled Backups Directory, there is no new backup.

Am I forgetting a step, or is there some feature of Drupal CRON that prevents me from explicitly specifying the time?

Comments

tlaford’s picture

I found the problem... The PRIVATE directory wasn't set to what it should have been, so the backup files were being saved, but not where I expected.