Moving a Drupal site
Submitted by Johan Falk on Tue, 01/17/2012 - 07:27
This screencast shows how to move a Drupal site from one environment to another, in this case from a web host to a local computer. In short, the process is as follows:
- Set the source site in maintenance mode (if you want to take it offline)
- Clear the cache on the source site
- Export the database from the target site (or, possibly, the tables in the database you're using)
- Import the database to the target environment (or, possible, the tables into an existing database)
- Copy the full Drupal file structure from the source to the target environment (including hidden files like .htaccess)
- Change the database login credentials in sites/default/settings.php, to match the target environment
- Make sure that the folder sites/default/files (and sub folders) is writable for the target server
- Done!
I had to re-record this screencast at least four times, so a comment with sympathies would be appreciated. ;-)
Additional Resources:
Leave a comment