beautypg.com

Omitting files from a backup – HP NonStop G-Series User Manual

Page 216

background image

Backing Up and Restoring Disk Information

Guardian User’s Guide 425266-001

11 -10

Using Run Options in a Backup Command

Include the LISTALL option to get a complete listing of the files backed up and the files
that generate errors or warnings. This example shows the output from a Backup
command with the LISTALL option:

Backup displays:

In this example, the Backup operation requires two tapes. Backup displays the prompt
“Mount Next Tapes #2?”when the first tape is full. After you mount another tape, press
Return to continue the Backup process.

With the LISTALL option, you can create a permanent record of the files that were
copied. In your Backup command, include the LISTALL option and name a disk file or
a spooler location for the OUT option. You can label the contents of the tape by
attaching the output to the reel or cartridge.

Omitting Files From a Backup

To omit some files from the backup, specify them with the NOT option. For example,
this command backs up all files in subvolume $CAFFE.MED except MITSLAG and
MOKA:

4> BACKUP $TAPE3, *, LISTALL

BACKUP Program - T9074D46 (07SEP98)
Copyright Tandem Computers Incorporated 1981-1998
Drives: $TAPE3
System: \LAUN11 Operating System: G06 Tape Version: 1
Backup options: BLOCKSIZE 8, NO PARTONLY
Backup time: 11Feb1999 10:43 Page: 1

Tape: 1 Code EOF Last modif Owner RWEP Type Rec Bl

$MYVOL.MYSUBVOL
BFILE *ERROR* File aborted (Open error 12).
CFILE 101 334525 6Jan1999 8:55 8,44 NUNU
CFILE2 101 1854 8Jan1999 9:19 8,44 AOGO
EFILE 5120 8Jan1999 10:46 1,25 NUNU E 80 1024
FILE1 101 22657 15Jan1999 15:11 1,25 CUCU

Mount next tape #2?

Tape: 2 Code EOF Last modif Owner RWEP Type Rec Bl
FILE2 101 1118 15Jan1999 11:12 1,25 CUCU
FILE3 101 365520 27Jan1999 14:37 1,25 CUCU
INDEX 101 61616 19Jan1999 19:05 8,12 CUUU
KEYFILE 32768 3Dec1998 10:08 1,25 AOAO K 80 4096
SEC1 101 26374 18Jan1999 9:05 1,25 CUUU

XFILE *ERROR* File aborted (Open error 48).

Summary Information
Files dumped = 9 Files not dumped = 2

5> VOLUME $CAFFE.MED
6> BACKUP $TAPE1, * , NOT (MITSLAG, MOKA)

This manual is related to the following products: