Veritas-bu

Re: [Veritas-bu] Point in Time Bare Metal Restore Problem

2009-10-15 05:17:36
Subject: Re: [Veritas-bu] Point in Time Bare Metal Restore Problem
From: "Adrian Soetanto" <adrian.soetanto AT bentoel.co DOT id>
To: "WEAVER, Simon (external)" <simon.weaver AT astrium.eads DOT net>, <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Thu, 15 Oct 2009 16:12:41 +0700
Hi Simon,
Thanks for your reply.

I guess that the scenario you explained is for Incremental Backup, while I'm 
using Full Backup for all backups.
Maybe it's not right then?

Let me make it simpler:
Suppose I have 3 FULL BMR backups:
- FULL BMR Backup A
- FULL BMR Backup B
- FULL BMR Backup C
Then, I want to BMR restore to "B", does the BMR restore always check/go back 
to "A" first or also check/go forward to "C" as well?
(Consider that "B" itself is a FULL BMR backup).

Thanks in advance.

--
Best Regards,
  Adrian Soetanto
  PT. Bentoel Prima - Infrastructure Staff
  Jl. Raya Karanglo - Singosari, Malang
  Tel. (+62-341) 298 774 




-----Original Message-----
From: WEAVER, Simon (external) [mailto:simon.weaver AT astrium.eads DOT net] 
Sent: 15 Oktober 2009 15:08
To: Adrian Soetanto; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Point in Time Bare Metal Restore Problem

Adrian
I could be wrong here, but BMR goes back to the last "current configuration 
date and time". So if the "A" backup was a FULL and has the BMR info on this, 
then it would go back to "A" first.

This is the behaviour I see, and as I said, I thought it was default.

As an example, I have a Server called SERVER1 that had its BMR updated last 
night at 14.10.09 20:16. this was an INCREMENTAL BACKUP. However, when it 
restores, it still looks for the Full backup first, normally on a different 
tape. Then if required, it would use the last tape for the Incremental that was 
run!

Maybe its not right then ?

Simon 

-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu 
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Adrian 
Soetanto
Sent: Thursday, October 15, 2009 8:37 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] 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 Soetanto
   PT. Bentoel Prima - Infrastructure Staff
  Jl. Raya Karanglo - Singosari, Malang
  Tel. (+62-341) 298 774 


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>