ccmdb load dumpfile -t|-to database_path [-s|-server servername] [-p|-space dbspace] [-o|-overwrite] [-n|-nocreate] [-url server_url] ccmdb load - -t|-to database_path [-s|-server servername] [-p|-space dbspace] [-o|-overwrite] [-n|-nocreate] [-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).
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
-
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 metadata in the database at database_path if the database exists already on the current machine (database server).
-p|-space dbspace
Specifies the name of the dbspace. By default, the ccm dbspace is used.
-s|-server servername
Specifies the database server. You must set the ORACLE_SID, or specify the servername with the ORACLE_SID environment variable. If the -s servername argument is specified, it supersedes the ORACLE_SID environment variable.
-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