Converts previous versions of DB2 databases to current formats. Following are the database releases that are supported in the DB2 V5.0 database migration process:
Authorization
sysadm
Required Connection
This command establishes a database connection.
Command Syntax
>>-MIGRATE---+-DATABASE-+database-alias-------------------------> +-DB-------+ >--+---------------------------------------+------------------->< +-USER--username--+------------------+--+ +-USING--password--+ |
Command Parameters
Example
The following example migrates the database cataloged under the database alias sales:
db2 migrate database sales
Usage Notes
This command will only migrate a database to a newer version, and cannot be used to convert a migrated database to its previous version.
The database must be cataloged before migration.
Use db2ckmig - Database Pre-migration Tool to determine whether the database can be migrated. For more information, see one of the Quick Beginnings books.
Note: | Back up all databases prior to migration. |