ccmdb restore

The ccmdb restore command restore the database from the backup file created by ccmdb backup command.

Synopsis

ccmdb restore	backup_file [/t|/to database_path]
		[/s|/server server_name] [/o|/overwrite]
		[/url server_url]
ccmdb restore	backup_file [/show]

Uses

Use the ccmdb restore command to restore the database from the backup file that the ccmdb backup command created.

You must run this command on the database server, as user the CM Administrator. The destination directory must be writable by the CM Administrator.

Options and arguments

backup_file
Specifies the name of the backup file to be restored.
/t|/to database_path
Specifies the full path to the database to which you are restoring. By default, the database is restored to its original location.
/s|/server servername
Specifies the name of the database server. By default, the database is restored to its original server.
/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.
/o|/overwrite
Causes the restored database to write the specified database to database_path. The database is dropped at first if the specified database already exists.
/show
Shows the information of backup file.

Examples


Feedback