DB2 Version 9.7 for Linux, UNIX, and Windows

Restoring to an existing database

You can restore any database or table space backup image to an existing database. For a database-level restore, the backup image can differ from the existing database in its alias name, its database name, or its database seed. For a table-space level restore, you can restore a table space into an existing database only if the table space currently exists, and if it is the same table space; "same" means that the table space was not dropped and then recreated between the backup and the restore operation. The database on disk and in the backup image must be the same.

A database seed is a unique identifier for a database that does not change during the life of the database. The seed is assigned by the database manager when the database is created. DB2® always uses the seed from the backup image.

When restoring to an existing database, the restore utility: