The ccmdb pack command dumps a database contents to a single, portable file, appropriate for moving to another system. Packed files have the extension .cpk.
The ccmdb backup and ccmdb pack commands archive information from the metadata and file systems of the database. They do not back up work areas. Users with copy-based work areas must reconcile changes before the administrator runs the backup. If the reconcile is not done, changes to work areas must be backed up separately.
You can move a database from a UNIX® server to a Windows® server by packing the database using the ccmdb pack command, and vice versa. However, you must run ccmdb upgrade /w after moving from Windows to UNIX.
The database is locked while a pack is in progress, which prevents users from changing data in the Rational® Synergy database during a pack. Users receive a message that the database is locked because it is being packed.
The maximum size of a pack file produced by ccmdb pack is limited by the destination file system.
For more information, see Performing database integrity checks.
The user for this command is the Rational Synergy administrator.
database_path
Specifies the path to the database you want to pack.
/t|/to packfile
Specifies the name of the pack file to be created.
packfile is the name of the database portable file. The default pack file is database_name.cpk in your current directory.