Using Run Options In A Backup Command; Table 11-1. File-Set List Qualifiers - HP Guardian User Manual

Hide thumbs Also See for Guardian:
Table of Contents

Advertisement

Backing Up and Restoring Disk Information

Table 11-1. File-Set List Qualifiers

Qualifier
EXCLUDE
FROM CATALOG[S]
START
WHERE
This example backs up all files on $DISK2 that are owned by the user with user ID 8,76:
10> BACKUP $TAPE1,$DISK2.*.* WHERE OWNER = 8,76,LISTALL
This example backs up all EDIT files (file code 101) on $DISKA.SALESVOL and
$DISKB.REPORTS that are owned by users in the group SALES:
11> BACKUP $TAPE1,($DISKA.SALESVOL.*,$DISKB.REPORTS.*)&
11> &WHERE OWNER = SALES.* AND FILECODE = 101,LISTALL

Using Run Options in a Backup Command

A Backup command can also include any run option that is valid for the TACL RUN
command. Run options control the operation of the process you are starting. For a
complete list of run options, see the RUN command in the TACL Reference Manual.
The OUT file option sends the Backup listing to a disk file or a spooler location, such as
a printer. You can specify an existing disk file or a nonexistent file for the OUT file. If
you specify a nonexistent file, Backup creates an entry-sequenced file with that name.
For example, to send the Backup listing to the file LIST2 in the current default
subvolume:
10> BACKUP / OUT LIST2 / $TAPE2, $DATA.USER.*
The IN file option specifies a file or device from which Backup reads the command
parameters. If your Backup command contains a long or complicated list of files and
command parameters, entering the command from an IN file can be easier than entering
it interactively.
Instead of typing the parameters when you enter your Backup command, type the
parameters in a command file. Then, when you enter the Backup command, specify this
file for the IN file parameter.
Note. You must use an IN file if your Backup command exceeds 132 characters for a single
command line or 528 characters for a command that continues beyond one command line.
For example, this command starts a Backup process that uses the parameters in the IN
command file FRED.FLIST and sends its listing to the OUT file BRECD. With the
Function
Excludes files from the file-set list
Specifies SQL objects in an SQL catalog
Specifies the starting file in a file-set list
Includes or excludes files from a file-set list
Guardian User's Guide —425266-001
11- 6
Using Run Options in a Backup Command

Advertisement

Table of Contents
loading

Table of Contents