Forum Discussion

adr14n's avatar
adr14n
Level 2
15 years ago

Point in Time Bare Metal Restore Problem

Dear all,

I have a problem of Point in Time Bare Metal Restore (BMR) using Netbackup 6.5 (both Master Server & Client are using the same version).

Suppose I have 3 successful BMR backups of UNIX system (AIX 5.3.03), e.g.:
- BMR backup "A" (Full backup, day 1, backup ID 001, stored at Tape 1)
- BMR backup "B" (Full backup, day 2, backup ID 002, stored at Tape 2)
- BMR backup "C" (Full backup, day 3, backup ID 003, stored at Tape 3)
All the backups run with IBM Library.

And today I want to restore the UNIX system back to day 2, and I had done a "Prepare to restore" by using the BMR backup "B".
The BMR restore process used an SRT media boot and I just inserted Tape 2 into the library.
And here is the problem... the BMR restore process asked for Tape 1 (backup "A") and it stopped at this condition:

Here is the log at the console screen:
---- BEGIN LOG -----
..
...
....
Restoring /tmp/ file system...
Restoring /var/ file system...
Restore failed.

Failed command: /SPOT/usr/openv/netbackup/bin/bprestore -L /tmp/fifo.6888 -w -H -K -W -O -T -C bendev -S veritas -R /tmp/rename  -f /tmp/listfile.fs.  rc=5

Bare Metal Restore has failed.
---- END LOG -----


Here is the log from Administrator Console:
  Oct 7, 2009 4:34:59 PM - begin Restore
  Oct 7, 2009 4:35:04 PM - number of images required: 1
  Oct 7, 2009 4:35:04 PM - media needed: PE01L3
  Oct 7, 2009 4:35:13 PM - Warning bprd (pid=737320) Restore must be resumed prior to first image expiration on INFINITY
  Oct 7, 2009 4:35:13 PM - end Restore; elapsed time 0:00:14
  the restore failed to recover the requested files (5)

--> The problem came from /var which has some subdirectories stored in BMR backup "A" (Tape 1: PE01L3).


Then, I retried the BMR restore (Prepare to Restore by using BMR backup "B").
This time, I inserted all the tapes into the library.
The restore process ended successfully, but it still restored some files & subdirectories that belong to BMR backup "A" (Tape 1).

Here is one of the BMR restore logs which looked for BMR backup "A" (backup ID 001):
# Job Overview:
    File List: /sapmnt/
    Status: 1: (0) the requested operation was successfully completed.
# Detailed Status:
   Oct 15, 2009 11:12:36 AM - begin Restore
   Oct 15, 2009 11:12:43 AM - restoring from image bendev_xxxxxxx001
   Oct 15, 2009 11:12:43 AM - requesting resource TRANSPORT
   Oct 15, 2009 11:12:43 AM - Info nbjm (pid=278760) NBU status: 800, EMM status: Fibre Transport resources are not available
   Oct 15, 2009 11:12:43 AM - Info nbjm (pid=278760) NBU status: 800, EMM status: Fibre Transport resources are not available
   Oct 15, 2009 11:12:47 AM - connecting
   Oct 15, 2009 11:12:47 AM - connected; connect time: 0:00:00
   Oct 15, 2009 11:12:48 AM - started process bptm (pid=606322)
   Oct 15, 2009 11:12:50 AM - begin reading
   Oct 15, 2009 11:13:22 AM - begin reading
   Oct 15, 2009 11:13:22 AM - end reading; read time: 0:00:00
   Oct 15, 2009 11:13:25 AM - restored from image bendev_xxxxxxx001; restore time: 0:00:42
   Oct 15, 2009 11:13:26 AM - end Restore; elapsed time 0:00:50
   the requested operation was successfully completed (0)

NOTE:
the rest of the BMR restore logs, were successfully completed: "restoring from image bendev_xxxxxxx002".


I wonder why the BMR restore process always looks for the earliest backup sets, eventhough I did the "Prepare to Restore" using the second/most recent backup set.
Could someone please help me with this problem?
Thank you in advance.

--
Best Regards,
  Adrian
 

1 Reply

  • When you enable BMR on a policy, TIR also gets enabled since BMR depends on TIR to give you a consistent stage.
    I am not very sure (since you say that all your backups are "Full Backups") but I think its because of TIR that you need the earlier tape as well.