cscenvrestore (Restoring the HCSC-Manager environment)

Format

cscenvrestore [-h]
-user login-user-ID
-pass login-password
-restorefile backup-file-name-of-HCSC-Manager-operating-environment

Function

This command restores the environment by using the following backup files of the HCSC-Manager environment:

The environment cannot be restored by using any other files.

By setting up default values for mandatory options, such as the login user ID, in the HCSC-Manager command definition file, you can omit the specification of these values in this command.

For details on how to use this command, see 7.9.3 Backing up and restoring the operating environment in the Service Platform System Setup and Operation Guide.

Arguments

-h

Displays the usage of commands. When you specify this option, all other options are ignored even if specified.

-user login-user-ID ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))

Specifies the user ID that is used to log in to HCSC-Manager.

-pass login-password ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))

Specifies the password that is used to log in to HCSC-Manager.

-restorefile backup-file-name-of-HCSC-Manager-operating-environment ~ ((1 to 200 bytes))

Specifies the name of the backup file for restoring the HCSC-Manager operating environment as an absolute or relative path. By default, this option specifies the backup file that is obtained automatically when the repository is successfully imported.

Return values

Return valueMeaning
0The command terminated normally.
1The command terminated abnormally.
3An exclusion error occurred.
9An error occurred when checking the execution permission.

Notes

Restore the environment with the HCSC-Manager environment backup files appropriate for the HCSC server environment.