Difficulty restoring a Raw Partition Backup
As per the View Status screen of Backup Archive and Restore, the job may fail similar to this:
11:48:27 8/2/2011: Restore Started
11:48:35 (3380.001) Restoring from copy 1 of image created 8/2/2011 11:43:47 AM
11:48:51 (3380.001) INF - TAR STARTED
11:48:53 (3380.001) INF - Beginning restore from server jdhv to client jdhv.
11:48:54 (3380.001) TAR - \\.\R:
11:48:54 (3380.001) MNR - The file was renamed to the following:
11:48:54 (3380.001) UTF - \\.\S:/\\.\R:
11:48:54 (3380.001) WRN - can't open raw device: \\.\S:/\\.\R: (NULL) (WIN32 2: The system cannot find the file specified. )
11:48:56 (3380.001) INF - TAR EXITING WITH STATUS = 5
11:48:56 (3380.001) INF - TAR RESTORED 0 OF 1 FILES SUCCESSFULLY
11:48:56 (3380.001) INF - TAR KEPT 0 EXISTING FILES
11:48:56 (3380.001) INF - TAR PARTIALLY RESTORED 0 FILES
11:48:57 (3380.001) Status of restore from copy 1 of image created 8/2/2011 11:43:47 AM = tar did not find all the files to be restored
11:49:04 (3380.xxx) INF - Status = the restore failed to recover the requested files.
In the example above, the original source drive letter was R:\ (specified as \\.\R: in the Policy).
In this instance, the user is attempting to restore to an alternate volume: \\.\S:
The above error can occur if you have selected the incorrect object to restore (see Note 2 / Image 2 below).
Several things must be kept in mind when doing a Raw Partition restore on Windows.
1. The Restore Type must be set to "Normal Backups", not "Raw Partition Backups". "Raw Partition Backups" is used when restoring a Flashbackup in the Raw Partition style.
2. "Overwrite existing files" must be selected.
3. The destination volume must be as big or bigger then the original volume.
There are three ways to restore Raw Partition backup data
1. On the "Restore Marked Files" window, use the top choice "Restore everything to its original location".
Restore data to the same drive letter on the original host.
2. On the "Restore Marked Files" window, use the top choice "Restore everything to its original location".
Restore the data to the same drive letter on an alternate destination host (the alternate destination host is selected in File > Specify NetBackup Machines and Policy Type).
3. On the "Restore Marked Files" window, use the 3rd option "Restore individual folders and files to different locations"
Restore the data to a different drive letter on either the original host or alternate destination host (the alternate destination host is selected in File > Specify NetBackup Machines and Policy Type).
Double-click the displayed file and enter a "New Destination" path in the RAW format (see Image 1 below).
NOTE 2: In order to get this option to work, when selecting the file object to restore, it is important to select the object in the "Contents of" pane, as opposed to the "All Folders" pane. See Image 2 below for clarification.
Understanding that granular file restores are not possible with Raw Partition restores, it may not be desirable to restore the entire volume when only a few files need to be recovered. In this situation, use options 2 or 3 above to preserve the production data and restore to alternate locations.