Transferring all DCM members of a database

You can use a built-in transfer set named Entire database to copy all eligible objects from one DCM database to another. The destination database does not need to be new or empty.

All eligible objects in a DCM database are members of the Entire database transfer set. Therefore, no more objects need to be added to it. You cannot add objects as direct members to this transfer set.

The Entire database transfer set does not replicate all objects in the database. Objects in the working state and objects related to the model that are vital to the correct functioning of the database can be excluded. Do not use this transfer set as an alternative to performing regular backups of the database. You cannot fully restore a database using DCM alone.

You can use DCM to restore objects that were created in a database and replicated to other databases before they are included in then next database backup. This should be regarded as an adjunct backup strategy and not a substitute for regular backups.

The Entire database transfer set can be used when duplicating or mirroring databases. See Copying a DCM database using pack and unpack. You can also use this transfer set to replicate all eligible objects to another preexisting database. However, if the current database is large or has been in use for some time, you might not be able to generate the first transfer package using the Entire Database transfer set. The resulting package may take too long to generate or be too large to be successfully generated or transferred. As a general rule, if there are more than about 50,0000 objects in the database, consider using a user-defined transfer set or using the procedure in Copying a DCM database using pack and unpack to create a duplicate database.

About this task

Procedure

To transfer all eligible objects from the source database to the destination database:

  1. Create the destination database definition.
  2. Generate and transfer the package using the Entire Database transfer set. For example:
    ccm dcm -generate -transfer -dbid destination_id -ts "Entire Database"
  3. Receive the transfer package.

Feedback