Overview of migrating the WebSphere Commerce database using the Migration wizard

Use the information in this section to migrate your WebSphere Commerce Version 5.6.1 or 6.0 database to the WebSphere Commerce Version 7.0 level using the Migration wizard.

Database migration overview

Before beginning the migration process you must have completed all of the premigration steps as well as the following requirements:
  • WebSphere Commerce Version 7.0 installed.
  • A working WebSphere Commerce Version 5.6.1 or 6.0 instance.
The following diagram depicts the database migration flow.
Graphical representation of the database migration flow.
Note: During database migration, when the database is restored it is also upgraded to the latest database version.

Database migration details

The Migration wizard prompts for a database backup and a restore of this backup. If you are migrating the WebSphere Commerce database from one system (source) to another system (target), you should copy the source database backup to the target machine, then restore it to the target database. The restored database backup is what is migrated to keep your current WebSphere Commerce environment functional. To back up or restore your database:

In a test run, the Migration wizard will not allow you to continue until both a database backup and a database restore have been completed. When not performing a test run, the database Migration wizard will not allow you to continue until you have performed a database backup.

The database migration script does not delete any records from your database. In particular, it backs up the original CMDREG, URLREG, and VIEWREG tables by appending "_OLD" to the backup version of the table. For example after the migration table CMDREG_OLD exists.

The database migration script migrates the CMDREG table completing these steps:
  1. It backups the original table CMDREG as CMDREG_OLD.
  2. It loads the new bootstrap data needed in the new release on top of table CMDREG and then backups the table to CMDREG_NEW.
  3. It restores most settings from the original CMDREG_OLD to the table CMDREG. A few settings are not restored because these settings might be changed in the new version. If you find that some of your settings are not restored and you need to have them restored, copy the previous setting from the CMDREG_OLD table.
The migration script migrates the URLREG and VIEWREG tables in a similar manner.

Staging database migration

You cannot migrate your staging database. See Creating a staging server on a migrated environment for more information.