Posted by jacobson on March 12, 2010 at 5:38am
The documentation for Aegir explains how to tar an existing site on a server other than the Aegir server, grab the database, and move all of this to the Aegir server. My situation is different. I have installed Aegir on a server that has existing running sites. Are the instructions the same, except I do not need to move the database? Must I move or copy the existing sites from /var/www/html to /var/aegir ? The documentation is not clear about where the tarred drupal site should be untarred to import into Aegir.
Thanks.
Comments
I believe the concept is the same
I think you are right about database assuming all sites (aegir and non aegir alike) use the same database then you can just untar the site under the aegir directory (I put all my non-aegir platforms under a /var/aegir/platforms sub-directory). Make sure you "chown -R aegir.aegir" the untarr'd directory and if the old sites do not currently use multi-site setup you will need to move the default folder to a site domain specific folder for it to import the site correctly.
Have Fun,
JamieT
JamieT is totally correct
JamieT is totally correct here. All steps are relevant except the database stuff which you can thus ignore since it's already local to the system.
Watch out for image and file references to /sites/default/*
If you are moving the default folder to a site domain specific folder you will want to watch out for references to these files in your content. I noticed that Aegir did not fix the references in the content in the database. I had to fix manually, which wasn't too hard. Might be worth noting in the Aegir instructions?
-Tim
That's correct and a good
That's correct and a good thing to point out. I have updated the Import documentation to make note of this.
Thanks