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

cscmngBK:
Indicates that the file is a backup file of the HCSC-Manager environment.
aaabbbcccddd:
Indicates the IP address of the computer that executes the command. However, if the IP address cannot be obtained, the IP address is not included in the file name.
YYYYMMDDhhmmss:
Indicates the time of the backup.
YYYY: year, MM: month, DD: day, hh: hours, mm: minutes, ss: seconds

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 valueMeaning
0The command terminated normally.
1The command terminated abnormally.
3An exclusion error occurred.
9An error occurred when checking the execution permission.

Notes

The system configuration information cannot be compared with the current information by the cscrepdiff command.