1. 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
  2. Rename sites/default to sites/importeddomain.name in this platform.
  3. Create new database/dbuser manually (not via Aegir).
  4. Import your old database to db created in step 3 above, also manually (truncate all cache tables first).
  5. Adjust database details in sites/importeddomain.name/settings.php to match database access details from step 3 above.
  6. Go to Aegir and create new platform using root dir of your imported site: /data/distro/myplatform.
  7. Now Aegir will create new platform, will import your site, will record its database details and will verify the site, everything automatically.
  8. 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.


Trademarks and Technology