Submitted by admin on Thu, 09/10/2009 - 18:01
- Upload all old files as a new platform in Aegir root dir and change owner:group on the new platform if you were logged as root (however try to avoid this and always ‘su – aegir’ first):
chown -R aegir:www /data/distro/myplatform - Rename
sites/defaulttosites/importeddomain.namein this platform. - Create new database/dbuser manually (not via Aegir).
- Import your old database to db created in step 3 above, also manually (truncate all cache tables first).
- Adjust database details in
sites/importeddomain.name/settings.phpto match database access details from step 3 above. - Go to Aegir and create new platform using root dir of your imported site:
/data/distro/myplatform. - Now Aegir will create new platform, will import your site, will record its database details and will verify the site, everything automatically.
- Now you can log-in to your imported site as always. If you see any errors, clear all caches now. Done!
Hello, I have a question
Hello,
I have a question regarding importing sites. If I have the default Pressflow/Drupal platform, can I import the www.domainname.com to the sites folder directly? without creating a platform?
Yes
Just re-verify the platform and Aegir will automatically import and verify any site located in the sites/anydomain.com.
Thank you for this
Thank you for this manual.
Everything is clear.