Nonstop Database, HiRDB Version 9 Command Reference
The pdfbkup command makes a backup in a regular file of the HiRDB file system. Backups can also be made in units of HiRDB files.
During the backup processing, this command also backs up the attributes of the HiRDB file system (specified by the pdfmkfs command). Although the attributes are inherited, once a HiRDB file system is expanded, the pdfrstr command cannot restore the original size from a backup that was made before the expansion.
The number of added areas and the number of noncontiguous free areas can be determined by displaying the status of a HiRDB file system area (by entering the pdfstatfs command). The added areas and noncontiguous free areas can then be merged and the HiRDB file system area used more effectively by taking the following measures:
You will usually execute this command while HiRDB is stopped. Before you execute the command while HiRDB is running, see Backup acquisition using backup-hold (backup without using the pdcopy command) in the HiRDB Version 9 System Operation Guide. In the case of a HiRDB file system area that contains an RDAREA for which the SCHEDULE attribute is not defined, you must specify the -f option to perform forced backup processing because HiRDB files might be opened, for example, by HiRDB resident processes.
HiRDB administrator
pdfbkup [-y] [-r] [-i] [-{c|l|f}]
HiRDB-file-system-area-name[/HiRDB-filename]
backup-filename
|
Specifies that the HiRDB file system is to be backed up without obtaining user confirmation. When this option is omitted, the backup is made only after the user confirms the processing.
Specifies that if a file with the specified backup file name already exists, it is to be deleted and re-created. When this option is omitted, an error occurs if a file with the specified backup file name already exists.
Specifies that if an error occurs during backup of the HiRDB file system, the backup of the file where the error occurred is to be abandoned and processing is to continue with the next file. When this option is omitted, the command terminates with an error when an error occurs.
Specifies the processing to be performed if another process or user is accessing the specified HiRDB file system area. Note that files cannot be backed up by the -c or -l option if the write privilege is not in effect for the source HiRDB file system area. When this is the case, specify the -f option.
Specifies the name of the character special file or regular file that contains the HiRDB file system to be backed up and (optionally) the name of a HiRDB file.
Specifies the name of the regular file in which the backup is to be made.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.