cscenvbackup (Backing up the HCSC-Manager environment)
Format
cscenvbackup [-h]
-user login-user-ID
-pass login-password
[-backupdir backup-file-output-destination-directory]
Function
Backs up the files required for restoring the HCSC-Manager environment to recover an error that occurs in the HCSC-Manager environment, and for executing environment migration operations, such as scale up. The backup file name is assigned in the following format:
cscmngBKaaabbbcccddd_YYYYMMDDhhmmss.zip
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.
-backupdir backup-file-output-destination-directory ((1 to 100 bytes))
Specifies the directory to output the backup files for the HCSC-Manager environment. If this option is omitted, the output destination specified in the HCSC-Manager definition file is assumed.
Return values
Return value | Meaning |
---|---|
0 | The command terminated normally. |
1 | The command terminated abnormally. |
3 | An exclusion error occurred. |
9 | An error occurred when checking the execution permission. |
Notes
The system configuration information cannot be compared with the current information by the cscrepdiff command.