The ccmdb load command loads the dumped
metadata of a database into a new or existing database.
Synopsis
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]
Uses
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 UNIX on Oracle
Note: You must have already set ORACLE_HOME and ORACLE_SID,
or use the -s option, to use this command.
Options and arguments
- -
- 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.