Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

6.1.1 Basics

Organization of this subsection
(1) Backup unit
(2) Backup timing
(3) Server machine to be used to store a backup file
(4) Backing up RDAREAs without using the database copy utility
(5) List RDAREAs
(6) Creating a backup file in a character special file
(7) Backup file size (important)
(8) Checking a backup file's contents

(1) Backup unit

The backup unit is specified in an option of the database copy utility. Data can be backed up in the following units:

#: Function applicable to HiRDB parallel server configurations only.

(2) Backup timing

We recommend that you back up data on a regular basis. You must back up data before performing the tasks listed below. If you do not back up data at these times, you will not be able to restore the database to the most recent synchronization point in the event of an error.

Backing up data at the following times can shorten the time required for restoring the database should an error occur:

(3) Server machine to be used to store a backup file

A backup file can be created in any server machine on which HiRDB is running. There is no requirement that a backup file be created in the same server machine where the RDAREAs being backed up are located. A server machine containing a device such as CMT or DAT might be used.

The server machine to be used to store a backup file can be specified in an option of the database copy utility (pdcopy command).

(4) Backing up RDAREAs without using the database copy utility

When an RDAREA is backed up without using the database copy utility, the following must be completed before the backup operation is started:

(5) List RDAREAs

List RDAREAs cannot be backed up. There is no need to make such backups, because lists can be re-created easily as long as the tables used for the lists are available.

(6) Creating a backup file in a character special file

If a character special file is used for a backup file, the character special file must be placed in a HiRDB file system area for utilities. To do this, UTL must be specified in the -k option of the pdfmkfs command.

(7) Backup file size (important)

If a message reporting a disk space shortage is output during execution of the database copy utility even though ample disk space has been provided, the following are possible causes:

Change the kernel parameter value. You can also avoid the problem by creating multiple backup files. However, if the OS does not support large files, you must keep the disk partition size to 2 GB or smaller to be able to handle multiple files.

(8) Checking a backup file's contents

You can use the pdbkupls command to check the backup information collected by the database copy utility. For example, you can check the information listed below (for details about the information that can be checked, see the manual HiRDB Version 9 Command Reference):