Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Restore Help Netbackup 5.1

Updated: 18 Sep 2010 | 6 comments
Tank99's picture
0 0 Votes
Login to vote

I have a set of tapes from last year that were not in the robot but whose expiration date was October 1st, 2009. Before putting them in the robot I extended the expiration date to October 1st 2010. Once in the robot I was able to run the Media List report and it reflected the new expiration data. I also ran the media contents report and I can see the backup images on the tape.

However when I try to do a restore for any client that has images on those tapes I'm unable to. I set the start date range to August 1, 2009 to the end date of October 15, 2009 and it can't find anything. What do I need to do in order to see the information on the tape and restore it? I'm stumped. Thanks.

discussion Filed Under:

Comments

Andy Welburn's picture
16
Mar
2010
2 Votes +2
Login to vote

"expiration date was October 1st, 2009"

was this Volume Expiration or Data Expiration? (I am presuming that this is more than likely the former - essentially the tapes best-before date which can be manually entered by the admin).

Is the media unassigned? i.e. no images/valid images?

The 'tape contents' report will physically read the media and will report any data on the tape (I have just confirmed this myself with a scratch tape that has no images as far as NetBackup is concerned).


If I am correct in my assumptions, I believe that what you will need to do is a Phase I & Phase II import to allow you to restore any images. The steps for this should be in one of the 5.1 Admin Guides

Regards Andy

"It's not too late to panic ..."

Marianne van den Berg's picture
16
Mar
2010
2 Votes +2
Login to vote

Please post media list report

You say you can run media list report against the tapes? Please post output for one of those media-id's (bpmedialist -m <media-id>.

Also run 'images on media' report for one of the tapes : bpimmedia -mediaid <media-id>

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

Andy Welburn's picture
16
Mar
2010
1 Vote +1
Login to vote

Good point.

If they report successfully then images are already in the db & will not need importing.

Regards Andy

"It's not too late to panic ..."

Tank99's picture
16
Mar
2010
0 Votes 0
Login to vote

This is the output from the

This is the output from the bpmedialist.

ROOT@hpzmx08o# bpmedialist -m WUD528
Server Host = zmx08nbk

 id     rl  images   allocated        last updated      density  kbytes restores
           vimages   expiration       last read         <------- STATUS ------->
--------------------------------------------------------------------------------
WUD528   3     69   08/30/2009 12:42  08/31/2009 21:10     dlt   607935247     0
              MPX   10/10/2010 00:00  03/16/2010 09:09    FULL    FROZEN
 
I can run the media contents report (from the gui) which displays the backup with the backup id numbers and other information.
 
If I run the "Images on Media" report it gives me an error message about 30 secs later that states "No Report Data Available"
 
 
rjrumfelt's picture
16
Mar
2010
0 Votes 0
Login to vote

sounds to me

that you might need to run a phase II import.

Marianne van den Berg's picture
16
Mar
2010
1 Vote +1
Login to vote

Media List report

Media List report (bpmedialist) reads info from the mediaDB on the media server and should always correspond with images database.

Images on media report reads from the images database, while media contents report loads the tape and reads directly from tape.

In your case, your mediaDB and images somehow got out of sync - according to medialist report there are images on tape that only expires in Oct 2010, but BAR and Images on media found nothing.

The only solution that I can see is that you expire the tapes in mediaDB with bpexpdate -justmedia... and re-import the tapes. Phase 1 will re-create the mediaDB as well as images header file, while Phase 2 will build the 'files' file. 

Be sure that you write-protect the tapes before expiring them to prevent them from being overwritten.

This TechNote explains the mis-match between mediaDB & images and how to fix it.

http://seer.entsupport.symantec.com/docs/247898.htm

PLEASE consider upgrading to NBU 6.5.x ASAP as this kind of inconcistency is impossible from 6.x onwards.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links