Unpacking a test database

About this task

Unpack a database from the installation directory, $CCM_HOME/packfiles.

For example, on the database server machine, unpack a base model database (base.cpk) to a new database, /data/ccmdb/testdb.

Note: If you are not using the default server name, you must use the
-s servername option on the ccmdb unpack command.

Procedure

  1. Log in as ccm_root and set the environment variables.
       $ su - ccm_root
       Password: *****
       $ CCM_HOME=ccm_home; export CCM_HOME
       $ PATH=$CCM_HOME/bin:$PATH; export PATH
  2. Unpack the database.
       $ ccmdb unpack $CCM_HOME/packfiles/base.cpk -t 
    /data/ccmdb/testdb

Feedback