ccmdb pack database_path [-t|-to packfile|archive_device|-]
[-z compress_level]
Use the ccmdb pack command to dump the contents of a database to a single, portable file, appropriate for moving to another system. Packed files have the extension .cpk.
To use this command, you must be logged on to the UNIX machine that hosts the Informix® server.
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 who attempt to start a session while the pack is in progress receive a message that the database is locked.
The maximum size of a pack file produced by ccmdb pack is limited by the destination file system.
You must be user ccm_root to run this command.
Generate a pack file called test_ccm.cpk in the /vol/bulldog/ccmdb directory.
$ ccmdb pack /vol/bulldog/ccmdb/test.ccm -to /vol/hydra/ccmdb/test_ccm.cpk
Use the ccmdb backup command for scheduled backups.