restorepmd Command Restore a PMDB
Valid in the pmd environment
capamsc141
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
Privileged Access Manager
as the restoration host. Privileged Access Manager
must be running on the restoration host. 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.
- pmdNameDefines the name of the PMDB to restore.
- parentpmd(name)(Optional) Defines the name of the restored PMDB's parent. Specify the name in the formatpmd@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/pmdNameDefault: (Windows) ACInstallDir\data\policies_backup\pmdName
- xadmin(user)(UNIX) Defines enterprise users as administrators of the restored PMDB.