|
The Documentation Site
Home
> Migration to Metadot 7
© Metadot Corporation |
Migrating from Metadot 6 to Metadot 7 can be tricky sometimes. The two versions are completely independent and this create extra work during the migration.
In order to migrate a whole site, we have to migrate:
While the migration of the site content is relatively simple to automate, the site theme and permissions are more complicated and needs to be done manually.
There is a rake task which will do the content (users, groups & gizmos) migration. In order to execute it follow these simple steps:
rake migrate_from_version_6 DB=metadot6_db_name SITE_ADDRESS=default TIME_OFFSET=-6 RAILS_ENV=production
where:
DB - the name of the Metadot 6 database from where we will import the site content
SITE_ADDRESS - site address name of the metadot 7 account to which the content will be migrated
TIME_OFFSET - the time offset of your server (this is needed for the calendar event times adjustments)
RAILS_ENV - should be 'production', 'development' or 'test'. Choose 'production' if you don't know what that means
.
Note that the migration task will delete all existing users (except the site owner), groups and gizmos (except site theme related) from the Metadot 7 account, before proceed with the content migration.