UBQ ID Number: UBQ000040
Last Modified: 2000-06-05 at 10:43:25
SUMMARY:
Performing a command line driven restore from either disk or tape device.
DETAILS:
Before attempting a command line restore, a file that defines the restore must be created in notepad. The file must include some specific restore information like what device to use for the restore, the overwrite options, the restore path, etc. You must save the file in the UltraBac directory with a .ubr extension.
The device number has to point to either a tape device or a disk device. Tape devices are defined starting with 0 and disk devices are defined starting with 100. If multiple tape devices are attached to the machine, they are defined under "Select"/"Storage Device" in UltraBac. This screen will list your tape devices as Tape 0, Tape 1, Tape 2&ldots;. Etc. If the data to restore resides on the tape in device 1, then the Device has to be defined as "Device:01" in .ubr restore file.
This is an example of a file named test.ubr with the necessary restore information.
Options in BOLD are required. Parameters in BOLD are the defaults if not specified.
Device:[0-99 tape][100-199 disk]
Drive:[Original Backup Path]
OverWrite:[Always/No/Update]
RestorePath:[where to restore to]
Unattended:[Yes/No]
MaintainDirStruct:[Yes/No]
RestoreFilePermissions:[Yes/No]
RestoreFolderPermissions:[Yes/No]
RestoreRegistry:[No/Active/OriginalPath]
RestoreInUse:[Yes/No]
Password:
MaintainCompression:[Yes/No]
SelectionCriteria:
(selection criteria exactly as you would see in a set. Must be the last option specified.)
So the contents of a .ubr file might look something like:
Device:100
Drive:D:\
Overwrite:No
RestorePath:D:\Junk
Unattended:Yes
MaintainDirStruct:No
RestoreFilePermissions:No
RestoreFolderPermissions:No
RestoreRegistry:No
RestoreInUse:No
MaintainCompression:No
SelectionCriteria:
+* /R
The following example demonstrates running the test.ubr file from the UltraBac directory.
C:\UltraBac\>ub /r test.ubr
LIMITATIONS:
Currently the command-line restore will restore from the first set on the storage media matching the specification entered into the "Drive:" parameter. For example, if you perform a backup multiple times and you append each backup to the same storage media, the storage media will have multiple sets matching the "Drive:" specification. The command-line restore will only restore from the first set that matches the specified criteria.
MORE INFORMATION:
See user manual: Restoring From Storage Media.
See UBQ: UBQ000014 – Security Requirements
See UBQ: UBQ000027 – Restoring Individual Files From an Image Backup
See UBQ: UBQ000058 – Stand Alone Image Backup/Restore Using Floppies – Intel & Alpha
See UBQ: UBQ000059 – Integrated GUI Image Recovery (Non-Boot Disk)
See UBQ: UBQ000060 – Static Mirror Image Recovery
See UBQ: UBQ000061 – Stand Alone Backup & Disaster Recovery Utility
CATEGORIES:
Restore
VERSION:
5.02 and higher
Copyright UltraBac.com 2000-2001