Anyone know of an easy way to move a site from one octopus instance to another on same barracuda?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Anonymous's picture

Does anyone know of an easy way to move a site from one octopus instance to another on same barracuda? (when the site is still up, but when one no longer has access to a functioning octopus aegir hostmaster site) I truncated the overhead on the wrong table and it took the octopus hostmaster site down so that it no longer recognizes any servers, platforms or sites - but all sites are still up and running) I cannot import the o1 server db backup for some reason - possibly a problem with percona...

For example, move domain.com from o1 to o2?

Preferably using drush and command line.

I believe that the remote import function won't do this for a number of reasons, so that isn't an option.

Comments

I'd follow the instructions

drurian's picture

I'd follow the instructions here http://community.aegirproject.org/content/importing-existing-aegir-backups
You can write your own script or use something like Phing to automate the process.

-Natalie

Friendlydrupal.com - Drupal Video Tutorials

It's explained here: All you

ar-jan's picture

It's explained here:

All you need to do if you screwed for some reason your Octopus instance is to create a new one (on the same server!), copy all platforms directories from screwed to new Octopus instance, chown them to match new Octopus instance user and then add all those platforms in the new instance, so Aegir will discover and import all sites automatically, and once all of them are verified, simply delete all its vhosts on the screwed instance and reload Nginx - there is no need to export/import databases etc. It just works.

BOA

Group organizers

Group notifications

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