Nounload; Open; Guidelines - HP BACKCOPY Reference Manual

Guardian disk and tape utilities
Table of Contents

Advertisement

NOUNLOAD

The NOUNLOAD option directs BACKUP to rewind the final tape and leave it online when the
BACKUP process is completed.
NOUNLOAD
CAUTION:
Subsequent BACKUP commands (either from you or another user) could write over the data that
was just backed up. If you are backing up critical data, do not use the NOUNLOAD option unless
there is no possibility that the tape can be inadvertently overwritten. The use of the NOREWIND
option will prevent another process from using the drive until the drive is manually reset. The use
of labeled tapes with a TAPECATALOG DEFINE can also prevent other users from overwriting the
tape.
NOUNLOAD is mutually exclusive with NOREWIND. If neither is specified the default is to unload
the tape.

OPEN

The OPEN option directs BACKUP to back up files even if they are currently open with write or
read/write access unless the files are also open with exclusive access.
If you do not include the OPEN option, the BACKUP process skips the files and ERROR-3012 is
issued on files that are currently open with write or read/write access. To avoid this error, use
WHERE NOT OPEN as the WHERE expression qualifier. Using this qualifier results in the
BACKUP process skipping the files that are currently open and an error is not received. For more
information about the WHERE NOT OPEN qualifier, refer to
OPEN
CAUTION:
up, file-system error 59 (file is bad) can occur, and data can be lost. Whenever possible, close all
files before running BACKUP. If audited files are backed up in the WRITE OPEN state, they could
be corrupt. Restoring such files and using them in audited mode can cause TMF to leave the whole
volume in an inconsistent state. If audited files are restored, they should be used in nonaudited
mode. Use TMF to dump audited files to tape.

Guidelines

BACKUP normally tries to open files with protected read access, meaning that other processes
can read the files but cannot write to them. If the OPEN option is in use and BACKUP fails to
open a file with protected access, BACKUP then attempts to open the file with shared read
access.
For additional information about backing up files that are open and audited, see
(page
48).
Before backing up files with the OPEN option, issue an SCF CONTROL DISK, REFRESH
command to update file labels on disk. Then be certain the files being backed up are not
modified while BACKUP is running.
Using BACKUP with the NOUNLOAD option leaves the tape online and write-enabled.
If you restore a file that was modified or open for write access while being backed
File Attributes (page
45).
BACKUP Options
AUDITED
61

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

PakUnpakRestoreDcomDsapBackup ... Show all

Table of Contents