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
W e _ a r e _ v e r y _ s o
W e _ a r e _ v e r y _ s o r r y _ f o r _ a n y _ i n c o n v i n i e n c e _ c a u s e d _ t o _ y o u _ b y _ o u r _ m e s s a g e . W e _ w e r e _ s e e k i n g _ f o r _ o l d _ " n o b o d y ' s " _ w e b s i t e s . _ I f _ i t ' s _ a _ m i s t a k e _ a n d _ w e _ d i s t u r b e d _ y o u , _ p l e a s e _ d e l e t e _ o u r _ m e s s a g e , _ a n d _ w e ' l l _ n e v e r _ r e t u r n _ h e r e . O n e _ m o r e _ t i m e , _ s o r r y _ f o r _ a n y _ t r o u b l e s _ t h a t _ w e ' v e _ c a u s e d _ b y _ o u r _ a c t i v i t y . cialis on line
Post new comment