What is the process for migration?

drupalSometimes you may want to create a duplicate site for development, or simply move your site to a different domain or server. This article describes a procedure that worked for me.

Maintenance mode

Start by logging on with and admin account.

  1. Go to Manage > Configuration > Development > Maintenance mode.
  2. Click the checkbox to Put site into maintenance mode.
  3. Click Save configuration.

Database and files

Copy the database, I generally use gzip compression here to speed up the process.

Copy all files to the new destination.



Open the /sites/default/settings.php file for editing.

  1. Scroll to the bottom.
  2. Change the db details to the new database.


Tidy up

You may need to clear the cache on your new server. You can now take your new site out of maintenance mode.


Thanks for visiting.