Technical data
Using BACKUP
11.13 Backing Up Files and Directories
3. You can also specify a list of files that you want to back up:
$ BACKUP
_From: DUA0:[MGR]EMPLOYEES.DAT,USER1:[RECORDS]DOOHAN.DAT,EVANS.DAT
_To: MUA1:MONTHLY_AUG.BCK/LABEL=TAPE1
4. If you are backing up large amounts of data, you can also specify more than
one output device:
$ BACKUP
_From: DUA0:[000000]*.*
_To: MTA1:BACKUP.BCK,MTA2:
In this example, if BACKUP uses all of the space on the tape in MTA1:,
it continues writing the save set on the tape in MTA2: (assuming MTA2:
contains a tape that has never been initialized or one that has been initialized
with the label BACK02).
5. As shown in the following example, you can create a Files–11 save set that
consists of a single file; DUA1: is already mounted:
$ BACKUP STRATCOL1.DAT DUA1:STRATDAT1.BCK/SAVE_SET
6. To create a network save set, add the node, user name, and password to the
output specifier in the following format:
remote_nodename"username password"::device_name:[directory]
For example:
$ BACKUP
From: STRATCOL1.DAT
To: NIMBL"ROGERS SANFRANCISCO"::WORK1:[ROGERS]STRATDAT1.BCK/SAVE_SET
7. To create a sequential-disk save set on DUA0: named NOV12SAVE.BCK
that consists of all files in the current default directory, enter the following
commands:
$ MOUNT/FOREIGN DUA0:
$ BACKUP [] DUA0:NOV12SAVE.BCK/SAVE_SET
8. The following example backs up the directory tree [REPORTS...] to a save
set:
$ BACKUP [REPORTS...] MIA11:REPORT.BCK/REWIND/IGNORE=LABEL_PROCESSING
The /REWIND qualifier in this command line rewinds the tape and initializes
it. The /IGNORE=LABEL_PROCESSING qualifier causes BACKUP to ignore
any existing label information on the tape. Because the command does not
include the /LABEL qualifier, BACKUP uses the first six characters of the
save-set name (REPORT) as the label.
9. You can also back up a directory to a disk that is mounted in the Files–11
format. For example:
$ MOUNT DUA1: PAYROLL
%MOUNT-I-MOUNTED, PAYROLL mounted on _DUA1:
$ MOUNT DUA21: DISK21
%MOUNT-I-MOUNTED, DISK21 mounted on _DUA21:
$ BACKUP
From: DUA1:[PAYROLL]
To: DUA21:[PAYROLL_BACKUPS]PAY22MAY2000.SAV/SAVE_SET
If the contents of the [PAYROLL] directory exceed the capacity of the disk
DUA21:, the backup operation fails.
11–26 Using BACKUP










