We help IT Professionals succeed at work.

Daily backup (Scheduled Tasks) of Drupal on Windows 7

Modifier1000
Modifier1000 asked
on
Hey all,

Well since Cron is for Unix/Linux/Mac, are scheduled tasks in Windows the preferred way to backup my Drupal site? At work, we have a site that is completely offline and needs to have daily backups. Is 'Scheduled Tasks' the way to go?

If so, any step-by-step resources available?
Comment
Watch Question

Paul MacDonaldDirector, Information Systems

Commented:
When you run through the Windows Backup wizard, one of the options is to make the backup a recurring item.  Setting up daily backups is as easy as specifying what days and what time.  This would typically be done on the machine hosting the files, but not necessarily so, if the machine running the backup has access to the data.

http://windows.microsoft.com/en-US/windows7/Back-up-your-files

Commented:
My favorite Drupal 7 module right now is the Backup and Migrate module at:
http://drupal.org/project/backup_migrate

It lets you clear cache tables, any other unneeded data, gzip and download the database in one click!! Then if all goes to hell, you can restore a backup in the Drupal GUI by uploading a file, replacing everything (that is, if everything went to hell and the GUI is still working)

You can integrate this module with Drush, a command line Drupal tool that can likely be scheduled in Windows (not sure on the step by step)

It seems like you can backup via FTP/S3/Email. Instructions would be in the README.TXT file here I'm guessing:
http://drupalcode.org/project/backup_migrate.git/blob/refs/heads/6.x-2.x:/README.txt

It's a joy to work with on the front end. I'm sure you could get this running quickly on the back end. Extra care will be required with Windows machines as they don't play as nice with typically Linux hosted Drupal sites sometimes.

Let me know if that helps inspire something.

Best regards,

Chris

Author

Commented:
Oh I forgot to mention, I'm using Drupal 6
Commented:
Hmmm. It looks like they have a Drupal 6 version too:
http://drupal.org/project/backup_migrate

Author

Commented:
Thanks!