Technical data

Using BACKUP
11.15 Backing Up User Disks
$!
$ REPLY/ALL -
"Full Backup About to Begin. Open Files Will Not Be Saved"
$!
$ BACKUP /IMAGE DUA2: MUA0:FULL_BACKUP.SAV /REWIND /IGNORE=LABEL_PROCESSING
$ DISMOUNT MUA0:
$ EXIT
$!
$FAILURE:
$ WRITE SYS$OUTPUT "---> Backup failed"
$ WRITE SYS$OUTPUT ""
$ DISMOUNT MUA0:
$ EXIT
3. Edit the command procedure to reflect:
The name of the disk that you want to back up. To back up more than one
disk, list each of the devices in the BACKUP command line. For example,
you could substitute the following lines for the BACKUP command line in
the preceding example:
.
.
.
$!
$ BACKUP/IMAGE WORK_DISK MIA0:WORK_BACK.SAV/REWIND
$ BACKUP/IMAGE PAYROLL_DISK MIA0:PAYROLL_BACK.SAV
$!
.
.
.
If you plan to perform any incremental backups later, include the
/RECORD qualifier in the BACKUP command line.
The name of the tape drive that you will use.
The name that you want to assign to the save set.
4. Write down the name of the save set that you assigned.
5. Submit the command procedure using the following command line (if you
gave your procedure a file name other than SYS$MANAGER:SYSTEM_
BACKUP.COM, substitute the appropriate file name):
SUBMIT/NOPRINT/AFTER="TOMORROW+2:0"/QUEUE=queue_name SYS$MANAGER:SYSTEM_BACKUP
6. Be sure to change the tape daily and make sure that a tape is physically
loaded on the device that you specified. When the backup is complete, keep
the backup tape in a safe place and do not use the tape again until after you
make another image backup of your disks.
To stop the procedure after you have submitted it, use the DELETE/ENTRY
command. To find the entry number, use the SHOW ENTRY command. For
example:
$ SHOW ENTRY
Entry Jobname Username Blocks Status
----- ------- -------- ------ ------
14 SYS_BACKUP TPROULX Holding until 19-APR-2000 02:00
On generic batch queue CLUSTER_BATCH
$ DELETE/entry=583
1140 Using BACKUP