Backing up Common Services

Ops Center Installation and Configuration Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99OPS001-23
To back up data in Common Services, run the csbackup command. You can restore the backup data to an instance of Common Services in an environment that has the same installation configuration and version.
  1. As necessary, back up each product registered in Common Services.
    For details on how to back up each product, see the documentation for each product.
  2. Log in to the management server as the root user.
    If you log in as an ordinary user, use the sudo command to complete the following procedure as the root user.
  3. Stop the Common Services service.
  4. Run the csbackup command.
    Command location
    installation-directory-of-Common-Services/utility/bin/csbackup.sh
    Format
    csbackup.sh -dir backup-destination-directory
    Option
    -dir backup-destination-directory
    Specify the path to the directory that stores the backup data. A relative path can be specified. A backup file, with the following file name, is output to the specified directory.
    csbackup_YYYY-MM-DD-hh-mm-ss_VVRRSS.tar.gz

    VVRRSS indicates the version of Common Services.

    Example:
    If the version is 11.0.0-01, VVRRSS is 110001.
    Note: Each time data is backed up, the number of backup files increases. For this reason, if data is backed up regularly over a long period of time, the backup files might take up a large amount of disk space. Delete backup files that are no longer necessary.
  5. If the server certificate and secret key are stored in a location other than the following default, manually back up the server certificate and secret key.
    /var/installation-directory-of-Common-Services/tls/

    For example, for an OVA install uses the following directory:

    /var/opt/hitachi/CommonService/tls/

    Note: If SSL communication was set up by using the cssslsetup command, the secret key of the server certificate is stored in the location specified when the command was run.
  6. Start the Common Services service.