Description
This command restores Systemwalker Runbook Automation resources that have been backed up to the backup destination directory.
Synopsis
swrba_restore Backup destination directory |
Options
Specifies the full pathname of the directory containing the backup data.
Only alphanumeric characters can be specified. The directory path cannot include symbols or spaces.
The maximum length of a path is 32 characters.
Return Values
Return value | Meaning |
---|---|
0 | Normal termination |
1 | Abnormal termination |
Undefined | Forced termination |
Command location
Admin server
[Windows]
%SWRBA_HOME%\bin |
Note that %SWRBA_HOME% contains the installation directory for Systemwalker Runbook Automation included with Systemwalker Software Configuration Manager.
[Linux]
/opt/FJSVswrbam/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using Windows Server 2008 or later operating system, run as an administrator.
Systemwalker Runbook Automation and Systemwalker Operation Manager must have stopped.
This command can be executed on a Management Server.
[Linux]
This can only be executed by a system administrator (superuser).
Systemwalker Runbook Automation and Systemwalker Operation Manager must have stopped.
This command can be executed on a Management Server.
Note
Restore the resources according to the procedure described in "Restoring the Admin Server" in the Operation Guide.
Before executing this command, you must check whether the backup destination directory and Systemwalker Runbook Automation installation directory(*1) can be accessed.
*1 The installation directory for Systemwalker Runbook Automation is set to %SWRBA_HOME%.
Before executing this command, you must check that there is sufficient capacity available in the Systemwalker Runbook Automation installation directory(*1) on the restore destination machine.
*1 The installation directory for Systemwalker Runbook Automation is set to %SWRBA_HOME%.
The only resources that can be restored are those that were backed up using the backup command of this version.
Operation system types, installation types, Systemwalker Runbook Automation installation directories(*1) and code types used on the backup source machine and restore destination machine must be the same.
*1 The installation directory for Systemwalker Runbook Automation is set to %SWRBA_HOME%.
[Linux]
For the backup directory, specify the full path to a location that the oms user can look up.
Example
[Windows]
The following command restores the resources that have been backed up to C:\backup:
swrba_restore C:\backup |
[Linux]
The following command restores the resources that have been backed up to /usr/backup:
/opt/FJSVswrbam/bin/swrba_restore /usr/backup |