ccmdb load

This topic contains information about the ccmdb load command.

Synopsis

ccmdb load dumpfile	   /t|/to database_path [/s|/server servername]
                  		[/p|/space dbspace_name] [/o|/overwrite]
                  		[/n|/nocreate] [/url server_url]

ccmdb load stdin  		 t|/to database_path [/s|/server servername]
                  		[/p|/space dbspace_name] [/o|/overwrite]
                  		[/n|/nocreate] [/url server_url]

Description and uses

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.

The user for this command is the Rational® Synergy administrator.

Satisfy the following prerequisite:

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

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.

/s|/server servername

Specifies the name of the database server. If not specified, the servername defaults to the host_name.

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 /s hawk


Feedback