Top
ETERNUS SF AdvancedCopy Manager V15.3 Operation Guide
ETERNUS

4.2.5 Operation

This section describes Symfoware backup server operation.

Before backup server operation, refer to "4.2.4 Pre-preparation" to configure the environment required for Symfoware backup server operation.

4.2.5.1 Performing backup

Perform backup by "12.7.2 swsrpbackup_symfoware(Symfoware backup command execution command)".

Specify a backup volume as backup destination in a replication group. In backup operation of multiple generations, perform backup operation while switching replication groups.

Unit of backup

Perform backup operation per either of the following backup units:

Unit of backup

Explanation

Log group

Back up transaction volumes contained in a log group at one time.

Transaction volume

Perform backup on a per transaction volume basis.

Backup method

Use either of the following methods for backup:

Backup method

Explanation

Normal dump

Back up database along with archive log (normal operation).

Reference dump

Back up database separated from archive log for the sake of long storage.

Note

  • If you specify a transaction volume and perform backup, you cannot specify the reference dump of a transaction volume containing multi-database space (physical structure where one table and index are allocated to multiple database space).

  • If you perform backup by reference dump, you should use the Symfoware rdbrtr command to set Inhibit Update (data unwritable status) to all DSI (expressing the storage structure for a table) in a transaction volume to be backed up.

Backup to secondary media

At Symfoware backup time, the following files are output in the recovery control file output destination directory:

If you use tape backup software to back up a backup volume to secondary media, back up the above files, as well at the same time.

In backup to secondary media, take the following procedure:

  1. Perform backup

    Perform the steps mentioned in "4.2.5.1 Performing backup".

  2. Back up a recovery control file and a backup history file.

    At backup time, a recovery control file and a backup history file are output in a folder next to the recovery control file output destination directory.

    Back up all the files under the following folder to the secondary media:

    < Recovery control file destination directory >\<LogGroupName_RdbName>\<RpGroupName>
      LogGroupName_RdbName ... Log group name (*1) + "_" + RDB system name (*1)
      RpGroupName ... Replication group name (*1)
    *1: Log group name, RDB system name, group name that were specified at backup time

    For recovery control file output destination directory, refer to "11.1.1.7.1 Backing up a target directory for output of the recovery control file".

    Note

    • At backup time, a recovery control file and a backup history file are output in the Symfoware server.
      When backing up those files to the secondary media, copy them to the backup server from the Symfoware server to back up to the secondary media.

    • The following is an example of using a network drive to copy to the backup server:

      1. Allocate a temporary area on the backup server as a network drive (z:).

        net use Z: \\BK-SV\<shared  name>
      2. Copy the file by the XCOPY command (file ownership and ACL information are also copied by I/O switch).

        xcopy < Recovery control file output destination directory >\<LogGroupName_RdbName>\<RpGroupName> Z:\<LogGroupName_RdbName>\<RpGroupName> /e /s /y /F /O /X /R /H
      3. On the backup server, back up the recovery control file and the backup history file onto the secondary media.

      4. Deallocate the network drive.

        net use Z: /delete
  3. Back up backup volumes

    Back up backup volumes to the secondary media.

    Point

    Store as a set the information on the recovery control file and the backup history file that were backed up at step 2 and the backup volume information that was backed up at step 3.

4.2.5.2 Performing recovery

Recover the data saved as backup by "12.7.3 swsrprestore_symfoware(Symfoware recovery execution command)".Specify a backup volume as recovery source in a replication group.

Unit of recovery

Perform recovery operation per either of the following recovery units:

Recovery method

For data backed up by normal dump, use either of the following methods to recover:

Note

  • At recovery time, the status of database space to be recovered should be access-inhibited. For how to make the status access-inhibited, refer to the Symfoware Server manual.

  • When recovering transaction volumes contained in a log group individually, the database administrator should be responsible to make consistent inter-table relationships in the log group.

  • When performing "Recovery to the latest status" or "Restoring of a specific point in time by specifying the end point of recovery", create on the Symfoware server a file in which archive log backup file names required for recovery are listed and specify it at recovery time. However, this is applicable only when archive log files are stored on external media. For the file description method, see the Symfoware Server manual.

  • If recovery operation fails due to free space shortage in a working directory, use the -w option of "12.7.3 swsrprestore_symfoware(Symfoware recovery execution command)" to use another directory as a temporary working directory and retry recovery.

  • When performing "Restoring of a specific point in time by specifying the end point of recovery" or "Restoring of the point in time of backup", the process of recovering Symfoware management information is done. Since this process is performed as parts of the recovery processes, the command processing takes time.

  • If a backup method for recovered data (normal dump or reference dump) exists in the log group, recovery cannot be done on a per log group basis.

Recovery from secondary media

In recovery from secondary media, recover to the backup volume at backup time to recover. You cannot recover it directly to the transaction volume from the secondary media.

The recovery procedure from secondary media is as follows:

  1. Delete backup history.

    If backup history exists in the same log group and replication group as when backup was taken, delete the backup history beforehand.

  2. Recover a recovery control file and a backup history file.

    Recover the recovery control file and the backup history file that were backed up in "Backup to secondary media".

    Recover them to the following directory:

    < Recovery control file output destination directory >\<LogGroupName_RdbName>\<RpGroupName>
      LogGroupName_RdbName ... log group name (*1) + "_" + RDB system name (*1)
      RpGroupName ... Replication group name (*1)
    *1: Symfoware server name, Log group name, RDB system name, group name that were specified at backup time 

    For the recovery control file output destination directory, refer to "11.1.1.7.1 Backing up a target directory for output of the recovery control file".

    Note

    • Recover the recovery control file and the backup history file so that the ownership and access right to the files become the same as backup time.

    • When recovering to the backup server the recovery control file and the backup history file that were backed up in "Backup to secondary media", make a copy from the backup server to the recovery control file output destination on the Symfoware server.

      The following is an example of using a network drive to make a copy to the Symfoware server:

      1. Allocate a temporary area on the backup server as a network drive (Z:). (Perform on Symfoware server)

        net use Z: ¥¥BK-SV¥<shared name>
      2. Recover from the secondary media to the temporary area the recovery control file and the backup history file that were backed up in "Backup to secondary media". (Perform on backup server)

      3. Copy the files by the XCOPY command. Copy the file ownership and ACL information as well by I/O switch. (Perform on Symfoware server)

        xcopy Z:\<LogGroupName_RdbName>\<RpGroupName> < Recovery control file output destination directory >\<LogGroupName_RdbName>\<RpGroupName> /e /s /y /F /O /X /R /H
      4. Deallocate the network drive. (Perform on Symfoware server)

        net use Z: /delete
  3. Recover backup volume

    Recover backup data from the secondary media to the backup volume in the group used for backup.

  4. Perform recovery.

    Specify the same log group and replication group as backup time to perform recovery.

  5. Delete backup history.

    Deleting backup history deletes the recovery control file and the backup history file that were used for recovery.

4.2.5.3 Managing backup history information

Refer to and delete backup history information.

Display backup history

Perform this action by "12.7.4 swsrphistory_symfoware(Symfoware backup history delete/display command)".

Delete backup history

Perform this action by "12.7.4 swsrphistory_symfoware(Symfoware backup history delete/display command)".