Description
This command restores backup data for the media library.
Synopsis
swcfmg_repository_restore -d <Backup data folder path> [-to <Media library migration destination folder path>] |
Options
Specify the path to the directory that contains the backup data to be restored. Specify an absolute path.
Specify the path to the folder where the media library is to be restored. For example, use this option when migrating the media library due to insufficient disk space. The pre-migration data will be deleted.
For the output path, specify the absolute path to a directory that does not contain any files or subdirectories. A directory will be created automatically if a nonexistent directory is specified.
If this option is omitted, the restoration will be executed without migrating the media library.
Return value
Return value | Meaning |
---|---|
0 | The command has terminated normally. |
10 | A parameter error has occurred. |
11 | The specified directory does not exist. |
12 | The specified directory cannot be accessed. |
16 | The specified directory is not empty. |
59 | Other processing is currently being executed on the media library. |
81 | The specified directory does not contain backup files. |
82 | There is not enough space for the media library. |
100 | Systemwalker Software Configuration Manager is running. |
102 | You do not have the privileges required to execute this command. |
255 | A system error has occurred. |
Command location
Admin server
[Windows]
<Systemwalker Software Configuration Manager installation directory>\SWCFMGM\bin |
[Linux]
/opt/FJSVcfmgm/bin |
Privilege required/execution environment
[Windows]
Administrator privileges are required. Execute as an administrator.
This command can be executed on the admin server.
[Linux]
This command can only be executed by the system administrator (superuser).
This command can be executed on the admin server.
Cautions
Systemwalker Software Configuration Manager must be stopped when a restoration is executed.
This command cannot be executed at the same time as other commands. An exclusive control error will occur if a command is executed while another command is executing.
Example
Restoring the media library
[Windows]
swcfmg_repository_restore -d c:\backup |
[Linux]
swcfmg_repository_restore -d /tmp/backup |