Temple Migration - A Romance Adventure
Ok, so I had a bunch of Drupal sites to migrate from my old web host to my new one - Media-Temple. English words cannot describe how much more satisfied I am with (mt) compared with my old, nameless host. Just imagine me floating dreamily in a lake of Lindt chocolate - you get the idea. It took me a while to get the info together, so here's my experience in brief:
(I'm using a Media-Temple Grid-Server account. )
How to migrate Drupal from host-X to Media Temple:
- Upgrade your old site to the same version of Drupal you're migrating too, including module/theme updates
- Backup your database and make sure you know how to restore it. Navicat is the best there is for MySQL management.
- Add alternate domain to account via (mt) account control panel - example.com
- Using FTP client or the (mt) control panel, delete the newly created directory for the domain under the ‘domains’ directory
- Create a directory example.com under html/sites/
- SSH into server using your account username and pword
- go to the domains directory, type: cd domains
- make a symlink from your primary (mt) domain to the new domain folder by typing: ln –s primary-domain.com example.com
- create a database at (mt) (only do this if you are using a dedicated Drupal db for this domain)
- add your database user to permissions read/write
- copy drupal an original sites/default/settings.php file to html/sites/example.com
- edit settings.php and change database line to newly created database (or existing shared db)
-
run example.com/install.php
in browser. DB should install - upload any modules/themes that were in use on the site and enable them
- restore old DB up to new DB and pray
Post new comment