This topic contains information about the ccmdb
copy command.
Synopsis
ccmdb copy src_database_path dest_database_path [-p|-space dbspace]
Description and 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. 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.
Note: After
copying a database, you might need to change some of the database
properties, such as the paths to projects work areas. See Rational Synergy CLI Help for
the ccm wa (work area) command for important information
about changing a copied database properties.
To run this
command, you must log on as the Oracle user who has write privileges
for the appropriate tasks. For more information, see Setting up user privileges for Oracle.
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
Caveats
Do not create databases
in the Rational Synergy
installation directory.