Top
ETERNUS SF AdvancedCopy Manager V16.1 Operation Guide
FUJITSU Storage

12.7.2 Maintaining Common Control and AdvancedCopy Manager Repository

This section explains the maintenance of common control and AdvancedCopy Manager repository.

12.7.2.1 Backup of Common Control and AdvancedCopy Manager Repository

Backup the common control and AdvancedCopy Manager repository.

Information

Notation in Procedure

Directory Name

Explanation

$BAK_DIR

Backup destination directory.

$INS_DIR

"Program Directory" specified at the ETERNUS SF Manager installation.

  1. Stop the ETERNUS SF Express Tomcat service.

    Open Service Control Manager to stop the following service.

    • ETERNUS SF Manager Tomcat Service

  2. Create a backup data.

    1. Using Explorer, create the following backup directories:

      • $BAK_DIR\Common

    2. Execute the following command to create a backup data with OS Administrator privilege.

      If you did not change the port number, specify 15432 for portNumber. If you did change the port number, specify the changed port number for portNumber.
      The file name of the created backup data is fileName.

      $INS_DIR\Common\sys\postgres\bin\pg_dump -U esfpostgres -C --attribute-inserts -p portNumber -f $BAK_DIR\Common\fileName esfdb
    3. The prompt is displayed, and waiting for input. Input the following strings.

      master01!
  3. Start the ETERNUS SF Express Tomcat service.

    Open Service Control Manager to start the following service.

    • ETERNUS SF Manager Tomcat Service

12.7.2.2 Restore of Common Control and AdvancedCopy Manager Repository

Restore the common control and AdvancedCopy Manager repository.

Information

Notation in Procedure

Directory Name

Explanation

$BAK_DIR

Backup destination directory.

$INS_DIR

"Program Directory" specified at the ETERNUS SF Manager installation.

  1. Stop the ETERNUS SF Express Tomcat service.

    Open Service Control Manager to stop the following service.

    • ETERNUS SF Manager Tomcat Service

  2. Restore a backup data. The following procedure must be implemented by a user with administrator privileges for the operating system.

    1. Execute the following command.

      If you did not change the port number, specify 15432 for portNumber. If you did change the port number, specify the changed port number for portNumber.

      $INS_DIR\Common\sys\postgres\bin\psql -U esfpostgres -p portNumber postgres
    2. The prompt is displayed, and waiting for input. Input the following strings in order.

      master01!
      drop database esfdb;
      \q
    3. Execute the following command to restore the backup data.
      If you did not change the port number, specify 15432 for port number. If you did change the port number, specify the changed port number for portNumber.
      The fileName is the file name specified when the backup data was created.

      $INS_DIR\Common\sys\postgres\bin\psql -U esfpostgres -p portNumber -f $BAK_DIR\Common\fileName postgres
    4. The prompt is displayed, and waiting for input. Input the following strings.

      master01!
  3. Start the ETERNUS SF Express Tomcat service.

    Open Service Control Manager to start the following service.

    • ETERNUS SF Manager Tomcat Service

Note

After restoring the shared control repository, it takes approximately 2 minutes before the Web Console becomes available.