Advertisement
Guest User

basic aegir migration steps

a guest
Jan 23rd, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. 1. SETUP NEW SERVER
  2. install aegir, make a platform
  3.  
  4. 2. CREATE ALIASES & SITE NODES FOR EACH SITE
  5. drush provision-save @mysite.com --context_type=site --platform=@platform_mynewplatform --uri=mysite.com --client=admin --db_server=@server_mydb.server.com
  6. drush hosting-import @mysite.com
  7. drush @mysite.com provison-enable
  8.  
  9. 3. BACKUP SITES ON THE OLD SERVER
  10. cd /var/aegir/platforms/my-old-platform
  11. drush provision-backup mysite.com
  12.  
  13. 4. COPY BACKUPS
  14. rsync backups newserver:oldserverbackups
  15.  
  16. 5. DEPLOY FROM BACKUPS ON NEW SERVER
  17. drush @mysite.com provision-deploy ~/old-server-backups/mysite.com-20111207.133251.tar.gz
  18.  
  19. repeat steps 3, 4, 5 as needed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement