How to Migrate OP to Production Site?

Events happening in the community are now at Drupal community events on www.drupal.org.
ithacaindy's picture

I've setup OP on a subdomain. I'd like to use the Backup and Migrate module to backup the database and then move it to the production site. Can someone provide the steps I need to accomplish that? Thanks.

Comments

first check the database to

resveld's picture

first check the database to see if there's any reference for *.yourdomain.com

Change them all to www.yourdomain.com

Remove all cache entries from the database.

Check the blocks you have for references to *.yourdomain.com/sites/xxxxxxxxx and change to www
Change the database settings in settings.php to match your new database .

Import the database to the sql server
Move all content to the new server

Then you should be up and running

Thanks. A couple

ithacaindy's picture

Thanks. A couple questions:

  1. I'm planning to use the same database (edited to remove the dev.domain.com) on the production site, since it is already populated with articles. Is that practical?

  2. How do I remove (as opposed to clear) cache entries from the database?

for 1 sure, if they are using

resveld's picture

for 1 sure, if they are using the same values for the cck fields.

for 2, empty all tables that start with "cache"

OpenPublish

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: