Description
This command restores CMDB assets that have been stored in a backup directory.
Synopsis
[Windows]
cmdbrestore.bat -d backup asset directory |
[Linux]
cmdbrestore.sh -d backup asset directory |
Options
Specifies the full pathname of the directory where assets are backed up.
It is not possible to specify a directory name that contains spaces.
Return Values
Normal termination
Abnormal termination
Command Location
[Windows]
<Systemwalker Runbook Automation installation directory>\CMDB\FJSVcmdbm\bin |
[Linux]
/opt/FJSVcmdbm/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using Windows Server 2008 or later operating system, run as an administrator.
CMDB Manager must have stopped.
This command can be executed on a Management Server.
[Linux]
This can only be executed by a system administrator (superuser).
CMDB Manager must have stopped.
This command can be executed on a Management Server.
Note
[Windows]
If the directory already exists when this command is executed, it is overwritten. To restore resources on another machine, the resources must be transferred to the target machine manually. Additionally, CMDB Manager must be stopped before this command is executed.
[Linux]
If the directory already exists when this command is executed, it is overwritten. To restore resources on another machine, the resources must be transferred to the target machine manually. Additionally, CMDB Manager must be stopped before this command is executed.
For the backup directory, specify the full path to a location that the oms user can look up.