ccmdb load -| database_path| dumpfile| -n|-nocreate| - [-n|-overwrite][-p|-space dbspace] [-s|-server servername] -t|-to database_path| [-url server_url]
Use the ccmdb load command to load the dumped metadata of a database into a new or existing database.
By default, the destination database is assumed to be new and empty. Use the -nocreate and -overwrite option to load into an existing database (for example, for an upgrade).
You must run this command on the database server, as user ccm_root.
-
Loads the dumped metadata from standard input.
database_path
Specifies the path to the database into which you are loading the dumped metadata.
dumpfile
Specifies the dump file you are loading.
-n|-nocreate
Loads into an existing database at database_path.
-o|-overwrite
Overwrites the Rational® Synergy database file system in the database_path, if the database exists already.
-p|-space dbspace
Specifies the name of the dbspace. By default, the ccm dbspace is used.
-s|-server servername
Specifies the database server. If you do not specify the server, the database is loaded onto the current machine if the machine is a database server. If it is not, it is loaded onto the main server.
-t|-to database_path
Specifies the database into which the dumped metadata is loaded
By default, the dumped metadata is loaded to standard output.
-url server_url
When this option is specified, the new database is assigned to the specified server. Otherwise, it is assigned to the default CCM server running on the database server machine.
$ ccmdb load test_ccm.dmp -to /vol/argent1/ccmdb/prod_ccm -server argent
$ ccmdb load test_ccm.dmp -overwrite -to \ /vol/argent1/ccmdb/web_ccm -server argent