Hitachi

uCosminexus Service Platform Reference Guide


cscenvbackup (Backing up the HCSC-Manager environment)

Organization of this page

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:

For IPv4: cscmngBKaaabbbcccddd_YYYYMMDDhhmmss.zip

For IPv6: cscmngBKaaaabbbbccccddddeeeeffffgggghhhh_YYYYMMDDhhmmss.zip

cscmngBK:

Indicates that the file is a backup file of the HCSC-Manager environment.

aaabbbcccddd:

Indicates the IPv4 address of the computer that executed the command. However, if an attempt to acquire the IP address failed, no IP address is included in the file name.

aaaabbbbccccddddeeeeffffgggghhhh:

Indicates the IPv6 address of the computer that executed the command. However, if an attempt to acquire the IP address failed, no IP address is 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 Backup and recovery of operating environment in the Service Platform 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.