About
The Segue 1 to Segue 2 migration process is designed to be a staged process that allows individual users move their own sites. Segue 1 and Segue 2 instances can be run side by side and redirect each other’s urls to the appropriate system as sites are moved.
Configuration
Segue 1.9.0 or later
- In the config.inc.php file, define the following constants with your own values:
define(‘DATAPORT_SEGUE1_SECRET_KEY’, ‘sadfj234j1’);
define(‘DATAPORT_SEGUE1_SECRET_VALUE’, ’28usafnjm023jfa0235rhj2052′);
define(‘DATAPORT_TMP_DIR’, ‘/tmp’);
Segue 2.0 – beta 15 or later
- copy the file config/dataport_default.conf.php to config/dataport.conf.php
- define the following constants with your own values:
define(‘DATAPORT_SEGUE1_URL’, ‘http://segue.example.edu/’);
define(‘DATAPORT_SEGUE1_SECRET_KEY’, ‘sadfj234j1’);
define(‘DATAPORT_SEGUE1_SECRET_VALUE’, ’28usafnjm023jfa0235rhj2052′);
Usage
Importing a Site
- go to Segue 2 –> Migrate Sites
- choose a source and destination and click the "Import Site" button.
Forwarding
| URL to… | Site Exists in Segue 1 | Site Exists in Segue 2 | Action |
|---|---|---|---|
| Segue 1 | yes | no | Stay in Segue 1 |
| Segue 2 | yes | no | Forward to Segue 1 |
| Segue 1 | no | yes | Forward to Segue 2 |
| Segue 2 | no | yes | Stay in Segue 2 |
| Segue 1 | yes | yes | Stay in Segue 1, view Segue 1 version |
| Segue 2 | yes | yes | Stay in Segue 2, view Segue 2 version |
| Segue 1 | no | no | Stay in Segue 1, show error |
| Segue 2 | no | no | Stay in Segue 2, show error. |
After importing a site into Segue 2, both versions of the site will be accessible. Delete the Segue 1 version of the site to redirect all users to the new Segue 2 version.