Technical data
Using BACKUP
11.15 Backing Up User Disks
• The day of the week (if any) to be omitted in the incremental backup
In this example, the incremental backup will not be performed on Friday,
reserving that day for an image (full) backup.
3. Be sure that an image backup has been made and also be sure that you
continue to make regular image backups. When you make your image
backups, be sure to use the /RECORD qualifier (as well as the /IMAGE
qualifier) in your BACKUP command line.
4. Submit the command procedure using the following command line (if you gave
your procedure a file name other than SYS$MANAGER:INCREMENTAL_
BACKUP.COM, substitute the appropriate file name):
$ SUBMIT/AFTER=23 SYS$MANAGER:INCREMENTAL_BACKUP
5. Be sure that a tape is physically loaded on the device that you specified.
When the incremental backup is complete, keep the tape in a safe place and
do not use the tape again until you make another image backup.
11.15.7.3 Using an Interactive Command Procedure for Backups
You can use the following command procedure to interactively back up a disk to a
magnetic tape.
How to Perform This Task
To use the procedure, perform the following steps:
1. Create the command procedure in your directory:
$ ! Command procedure DAILYBACK.COM
$!
$ ! Execute this command procedure interactively
$ ! by entering the command @[directory]DAILYBACK
$ ! at the DCL prompt.
$!
$ ! The BACKUP command in this procedure contains the
$ ! output save-set qualifier /REWIND. Therefore, this
$ ! command procedure always initializes the output tape.
$!
$ ON ERROR THEN GOTO FAILURE
$ INQUIRE DRIVE "Enter the drive name (without a colon)"
$ ALLOCATE ’DRIVE’
$ INQUIRE SAVESET_SPEC "Enter the save-set specifier"
$ INQUIRE LBL "Enter the tape label"
$ INQUIRE EXP "Enter the tape expiration date"
$ BACKUP/NOASSIST/RECORD/IGNORE=INTERLOCK/SINCE=BACKUP -
[...] ’DRIVE’:’SAVESET_SPEC’/REWIND/LABEL=’LBL’/TAPE_EXPIRATION=’EXP’
$ DISMOUNT ’DRIVE’
$ EXIT
$!
$FAILURE:
$ WRITE SYS$OUTPUT "---> Backup failed"
$ WRITE SYS$OUTPUT ""
$ DISMOUNT ’DRIVE’
$ EXIT
2. Run the procedure and enter the drive, save set, tape label, and tape
expiration information.
3. After the specified tape drive is allocated, BACKUP searches the tape’s
volume header record for a volume label and compares the label you specified
with the /LABEL qualifier. If the volume header record contains no volume
label, BACKUP writes the label and expiration date you specified to the
volume header record and initializes the tape. Otherwise, BACKUP compares
11–42 Using BACKUP










