Top
Systemwalker Software Configuration Manager Reference Guide
FUJITSU Software

1.5.4 swcfmg_repository_restore (Media Library Restoration Command)

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

-d <Backup data folder path>

Specify the path to the directory that contains the backup data to be restored. Specify an absolute path.

-to <Media library migration destination folder 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]

[Linux]

Cautions

Example

Restoring the media library

[Windows]

swcfmg_repository_restore -d c:\backup

[Linux]

swcfmg_repository_restore -d /tmp/backup