The ccmdb load command restores a database
from a .dmp file created by ccmdb dump.
By default, this command creates a protected empty database, loads
the dumpfile to the database, creates indexes, and
then unprotects the database.
Synopsis
ccmdb load dumpfile /t|/to database_path [/p|/space dbspace_name]
[/o|/overwrite] [/n|/nocreate] [/url server_url]
ccmdb load stdin /t|/to database_path [/p|/space dbspace_name]
[/o|/overwrite] [/n|/nocreate] [/url server_url]
Uses
The user for this command
is the Rational® Synergy
administrator.
This command must be run from the database server
machine or on a client with admin tools installed.
Options and arguments
- 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
- Does not create a database. Use this option if a database exists
in the database server.
- /o|/overwrite
- Overwrites the database_path if
one exists. If this option is specified, Rational Synergy reuses the database_path that
is specified for the upgrade.
- /p|/space dbspace_name
- Specifies the name of the dbspace. If not specified, the dbspace_name defaults
to the ccm dbspace.
- stdin
- Read from standard input.
- /t|/to database_path
- Specifies the path and name of the database to be restored.
- /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.
Example
Load the test_ccm.dmp file
into the sandbox database from the hawk server.
>
ccmdb load test_ccm.dmp /t \\boon\ccmdb\sandbox