ccmdb copy

The ccmdb copy command copies a database.

Synopsis

ccmdb copy src_database_path dest_database_path [-p|-space dbspace]

Uses

Use the ccmdb copy command to copy an existing Rational® Synergy database. The new database resides on the same database server as the source database. However, you can use any dest_database_path, as long as that file system is mounted.

The ccmdb copy command copies a full Rational Synergy database, including the st_root directory.

After copying a database, you may need to change some of the database properties, such as the paths to the project work areas. See Rational Synergy CLI Help for the ccm wa command for important information about changing the properties of a copied database.

You must run this command on the database server, as user ccm_root.

Options and arguments

dest_database_path
Specifies the path to the new database.
-p|-space dbspace
Specifies the dbspace to be used by the database server for the new database. By default, the ccm dbspace is used.
src_database_path
Specifies the source path to the original database.

Example

Copy the base database to tstgonzo.

$ ccmdb copy /vol/hydra/ccmdb/base /data/ccmdb/tstgonzo

Attention

Do not create databases in the Rational Synergy installation directory.


Feedback