Previous Topic: pmd Command—Control a PMDBNext Topic: subs Command—Add Subscribers or Subscribe Databases


restorepmd Command—Restore a PMDB

Valid in the pmd environment

The restorepmd command restores a PMDB on a local host. The backup files that you use to restore the PMDB must be from a host running the same platform, operating system, and version of CA ControlMinder as the restoration host. CA ControlMinder must be running on the restoration host.

Note: If you back up and restore the PMDB on different terminals, the PMDB does not automatically update the terminal resource in the restored PMDB database. You must add the new terminal resource to the restored PMDB. To add the new terminal resource, stop the restored PMDB, run the selang -p pmdb command, then start the restored PMDB.

This command has the following format:

restorepmd pmdName [source(path)] [admin(user)] [xadmin(user)] [parentpmd(name)]
admin(user)

(UNIX) Defines internal users as administrators of the restored PMDB.

pmdName

Defines the name of the PMDB to restore.

parentpmd(name)

(Optional) Defines the name of the restored PMDB's parent. Specify the name in the format pmd@host.

source(path)

(Optional) Defines the directory where the backup files are located. If you do not specify the source directory, the PMDB is restored from the files in the default location. The default location is defined in the _pmd_backup_directory_ token.

Default: (UNIX) ACInstallDir/data/policies_backup/pmdName

Default: (Windows) ACInstallDir\data\policies_backup\pmdName

xadmin(user)

(UNIX) Defines enterprise users as administrators of the restored PMDB.