User Guide · for DomainMOD 5.0.0
Migrating
Warning
Before migrating it's strongly recommended that you back up your DomainMOD installation directory and database. If something goes wrong during the migration process there may be no way to recover your data, and having a backup of your installation directory and database will allow you to easily restore your data.
The Backup & Restore instructions can be found here.
To migrate your DomainMOD installation from one server to another:
-
[Old Server] Upgrade to the newest version of DomainMOD
-
[Old Server] Export a copy of your DomainMOD database using the above Backup feature, and note your MFA key (
$secret_keyin config.inc.php, orDOMAINMOD_SECRET_KEYfor Docker) if you've set one, and your previous key ($previous_secret_key, orDOMAINMOD_PREVIOUS_SECRET_KEYfor Docker) if one is set. Keep them with the backup's records, but not in the same file or place. -
[New Server] Download and install the newest version of DomainMOD, with the same MFA key (and the same previous key, if you noted one), so the saved credentials and MFA secrets in the backup can be read
-
[New Server] Login to DomainMOD and navigate to Administration -> Backup & Restore
-
[New Server] In the Restore section, click the Choose File button and then select the domainmod-backup.sql file that you want to restore
-
[New Server] Click the Restore Entire Database button
-
[New Server] Once the restore is complete you will automatically be logged out of DomainMOD. You should now be able to login using the accounts that you just restored.
-
That's it! DomainMOD has now been migrated to your new server.