Posted by jhsu802701 on June 19, 2012 at 1:51am
I just installed Drupal for the first time on two web sites a few months ago using the book _Drupal For Dummies_. (No, this is not part of my day job.)
I have two sites with Drupal 7.12 that I need to upgrade to 7.14.
I understand that before I upgrade a Drupal site, I need to back up its database first. Where can I find a good procedure for this? I'm having difficulty matching up the procedure for the phpMyAdmin interface in _Drupal For Dummies_ to the screens I see on my actual Drupal web sites.
Where can I find a good procedure on how to properly back up a Drupal web site?
Comments
Use Backup and Migrate module
You can easily backup your database using the Backup and Migrate module (http://drupal.org/project/backup_migrate).
The module also allows you to schedule regular backups of the database.
that is part of the solution
the Backup and Migrate module allows you to back up the database, but do you have to backup the file folders as well? If so is there a script or do I just write a backup batch file for this using xcopy (I'm running a Windows server with IIS7 and mysql db) ? Surprised that there has not been an automated process for this written?
Wayne (be gentle, I only started using Drupal a week ago so if my ignorance shows, that's why :) and this is the first web site I've ever designed).
Backup the files in the sites directory
It's probably good practice to backup the files in the sites directory, as this should contain your custom themes and any contributed modules you may have installed. Probably also a good idea to back up the main .htaccess file and the robots.txt file (especially if these include custom modifications).
Don't know if I'd bother with the rest. If you need to roll back the core files you can get previous releases at http://drupal.org/node/3060/release.