Using run options in a backup command, Table 11-1, File-set list qualifiers – HP NonStop G-Series User Manual
Page 212

Backing Up and Restoring Disk Information
Guardian User’s Guide — 425266-001
11- 6
Using Run Options in a Backup Command
This example backs up all files on $DISK2 that are owned by the user with user ID 8,76:
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:
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:
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.
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
Table 11-1. File-Set List Qualifiers
Qualifier
Function
EXCLUDE
Excludes files from the file-set list
FROM CATALOG[S]
Specifies SQL objects in an SQL catalog
START
Specifies the starting file in a file-set list
WHERE
Includes or excludes files from a file-set list
10> BACKUP $TAPE1,$DISK2.*.* WHERE OWNER = 8,76,LISTALL
11> BACKUP $TAPE1,($DISKA.SALESVOL.*,$DISKB.REPORTS.*)&
11> &WHERE OWNER = SALES.* AND FILECODE = 101,LISTALL
10> BACKUP / OUT LIST2 / $TAPE2, $DATA.USER.*
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.