Top
Symfoware Server V12.1.0 Operation Guide
FUJITSU Software

7.3.7 Backup and Restore

This section explains how to back up and restore PL/extJava,

Back up PL/extJava to guard against issues such as a failure of the disk where the PL/extJava domains and containers are placed.

For example, backup should be performed when any of the following occur:

Note

When re-creating the instance administrator after a system disk failure, ensure that it has the same user name before the failure. If the user name is different from the backup data, restoration will fail.

7.3.7.1 Backup Method

This section explains how to back up PL/extJava.

If using the failover operation, back up the active node.

If using database multiplexing mode, back up the primary server.

  1. Stop the instance

    Refer to "2.1 Starting and Stopping an Instance" for information on how to stop the instance.

    Refer to "8.11 Actions in Response to Failure to Stop an Instance" if the instance fails to stop.

  2. Prepare the backup storage disk for PL/extJava

    Prepare a disk separate from the disk used to store the PL/extJava resources. Ensure that the disk has at least twice the capacity of the domain root.

  3. Back up PL/extJava

    As the operating system administrator user, back up the PL/extJava resources using the backup subcommand of the pgx_jadmin command.

    Note

    Do not specify any of the following directories as the PL/extJava backup storage directory:

    • The instance data storage destination, the backup storage destination, or the domain root

    • A directory in the instance data storage destination, the backup storage destination, or the domain root

    • A directory that places the instance data storage destination, the backup storage destination, and the domain root in a subdirectory of a directory that stores the PL/extJava backup

    Example

    If the backup storage directory for PL/extJava is "D:\backup"

    > pgx_jadmin backup --backupdir D:\backup

    See

    Refer to "pgx_jadmin" in the Reference for information on the backup subcommand.

7.3.7.2 Restore Method

This section explains how to restore PL/extJava from the point it was backed up.

  1. Stop the instance

    Refer to "2.1 Starting and Stopping an Instance" for information on how to stop the instance.

    Refer to "8.11 Actions in Response to Failure to Stop an Instance" if the instance fails to stop.

  2. Restore the instance

    Restore the instance if required.

  3. Restore PL/extJava

    As the operating system administrator user, restore the PL/extJava resources using the restore subcommand of the pgx_jadmin command.

    Example

    If the backup storage directory for PL/extJava is "D:\backup"

    > pgx_jadmin restore --backupdir D:\backup

    See

    Refer to "pgx_jadmin" in the Reference for information on the restore subcommand.