BACKUP Backup/Restore files or random access devices SYNTAX BACKUP[/OPTION] dev:[filnam.typ] dev:[filnam.typ] SEMANTICS The BACKUP command transfers files or volume images to or from multi-volume backup 'savesets'. The Backup Utility Program (BUP), is useful for making quick archive copies of RT-11 files and device volumes, and employs various data verification techniques to ensure data integrity. BACKUP can also display a directory showing the contents of device volumes and savesets that it produces. BACKUP inp:files out:[ssname] saves file(s) to a saveset on output volume(s) BACKUP/DEVICE inp: out:[ssname] saves a device image to a saveset on output volume(s) BACKUP/RESTORE inp:[ssname/SAVESET,]files out: restores file(s) from a device image saveset on inp: BACKUP/RESTORE/FILE inp:ssname[/SAVESET] out:[filnam.ext] restores saveset to one file on out: BACKUP/RESTORE/DEVICE inp:ssname out: restores a device from a device image saveset on inp: BACKUP/RESTORE/DEVICE/FILE inp:[ssname/SAVESET,]files out: restores file(s) from a device image saveset on inp: BACKUP/DIRECTORY inp:[ssname] creates a listing of saveset sections on the input volume BACKUP/DIRECTORY inp:[ssname]/SAVESET[,files] creates a listing of files within a saveset BACKUP inp:files out:logdsk/SUBSET creates a logical disk file (logdsk.DSK) and saves the specified input file(s) inside it BACKUP/RESTORE inp:logdsk/SUBSET[,files] out: retrieves file(s) from a logical disk file BACKUP/DIRECTORY inp:logdsk/SUBSET[,files] creates a listing of files in a logical disk file OPTIONS DEVICE BACKUP or RESTORE an entire device image. When used with /RESTORE the output volume is initialized DIRECTORY Creates a backup directory listing. The listing is displayed on your terminal, unless /OUTPUT or /PRINTER is specified. FILE Use only with /RESTORE. BACKUP/RESTORE/FILE restores an entire backup saveset to exactly one disk file. BACKUP/RESTORE/DEVICE/FILE restores one or more files from a BACKUP saveset. It is equivalent to BACKUP/RESTORE. INITIALIZE Use with backup operation to initialize an output volume LOG Informs of beginning of backup, restore, or verify operation. Also displays names of files processed. (default) NOLOG Prevents log messages from being printed on the screen NOQUERY Inhibits most confirmation (Are you sure?) prompts. Allows using BACKUP from indirect command files. NOREWIND Prevents initial rewind of magtape before backup or restore operation. Valid with magtape only. NOSCAN Omits bad-block scan of output disks during backup operations ONLY:n Limits the number of saveset sections to be displayed during a /DIRECTORY operation on magtape OUTPUT:filspc Use with /DIRECTORY to send output to a file or device PRINTER Use with /DIRECTORY to send output to LP: QUERY Asks for confirmation before performing an operation (default) RESTORE Restores previously backed up files or volume created by the BACKUP Utility REWIND Causes rewind of tape backup volume before operation begins (default) SAVESET Designates a backup saveset for a /RESTORE or /DIRECTORY operation. The default saveset on disk backups is BACKUP.BUP. The default saveset on magtapes is the first saveset on the tape. When /SAVESET is specified with /DIRECTORY, a list of files contained within the saveset is produced. SCAN Performs scan for bad blocks of each output disk volume before backup (default) SUBSET Use this switch in place of /SAVESET to indicate that the backup is an RT-11 logical disk file. Not valid with magtape. SYSTEM Permits wildcard restore of .SYS files to the SY: device VERIFY[:ONLY] Provides verification of data transferred to or from a device. BACKUP/RESTORE/VERIFY:ONLY performs a comparison of the contents of a backup saveset with an original disk volume without actually restoring it. EXAMPLES BACKUP/DEVICE/INITIALIZE/NOSCAN/VERIFY SY: DU2: BACKUP/INITIALIZE/VERIFY/NOQUERY DU0:*.* MU0:JUL10A BACKUP/NOREWIND/VERIFY/NOQUERY DU1:*.* MU0:JUL10B BACKUP/DIRECTORY MU0: BACKUP/DIRECTORY/PRINTER MU0:JUL10A/SAVESET BACKUP/RESTORE MU0:JUL10A/SAVESET,*.FOR DU2: BACKUP/RESTORE/FILE MU0:JUL10A.BUP SY:JUL10A.DSK BACKUP/VERIFY *.FOR,*.MAC,*.SAV SY:STUFF.DSK/SUBSET BACKUP/DIRECTORY SY:STUFF.DSK/SUBSET