The Migration Manager helps you transfer application configurations from one environment to another. Its main focus is on migrating “application configurations.” If you need a complete data migration, we recommend using the “Backup Manager” to back up and restore your entire application.
The Migration Manager depends on the Backup Manager. Make sure that the Backup Manager plugin is already installed and activated.
The Migration Manager transfers tables and data from the primary database based on specified migration rules, moving them from one application instance to another. Note that it does not migrate data from external databases or sub-applications.

Migration Manager can migrate all tables in the primary database and supports five built-in rules:
Schema-only
Only migrates the structure (schema) of tables—no data is inserted or updated.
Overwrite (clear and re-insert)
Deletes all existing records from the target database table, then inserts the new data.
Upsert (Insert or update)
Checks whether each record exists (by primary key). If it does, it updates that record; if not, it inserts it.
Insert-ignore
Inserts new records, but if a record already exists (by primary key), the insertion is ignored (no updates occur).
Skip
Skips processing for the table entirely (no structure changes, no data migration).
Additional notes:

Configure migration rules

Enable independent rules

Select independent rules and the tables to be processed by the current independent rules




Application environment variable check (learn more about Environment Variables)

If the values of DB_UNDERSCORED, USE_DB_SCHEMA_IN_SUBAPP, DB_TABLE_PREFIX, DB_SCHEMA, or COLLECTION_MANAGER_SCHEMA in the .env file are inconsistent, a pop-up dialog will appear indicating that the migration cannot continue.

If any dynamically configured environment variables or secrets are missing, a pop-up will prompt the user to enter the required environment variables or secrets here, and then continue.

Application plugin check. If required plugins are missing in the current environment, a pop-up notification will appear. You can also choose to continue the migration anyway.

After the migration is completed, migration log files are saved on the server. You can view them online or download them.

When viewing the migration logs online, you can also download the SQL statements executed during the migration of the data schema.

Click the Process button to view the completed migration execution process.


Before any migration runs, the current application is automatically backed up. If the migration fails or the results are not as expected, you can roll back using the Backup Manager.
