Veritas-bu

FW: [Veritas-bu] File listing for Fragment

2006-05-10 14:53:50
Subject: FW: [Veritas-bu] File listing for Fragment
From: mb AT unixusa DOT com (Mickey Baker)
Date: Wed, 10 May 2006 14:53:50 -0400
Andrew,

Were these tapes made using ndmp or were they made using a mapped drive from
a NetBackup enabled client?

ndmp uses a dump file format like Solaris ufsdump. If your restoring from
ndmp, once you put the NetBackup fragments back together, you will then have
an Ontap compatible dump file, which you can use an Ontap ?restore? command
or Solaris ufsdump. I don?t see getting around having to restore the entire
dumpfile, which is a PITA for those of us use to the ease of single file
restore with NetBackup, but is a reality when dealing with ndmp in
combination with any 3rd party software. 

Why go to all this bother?  Import all the tapes into NetBackup, then
restore the entire qtree to an alternate location using NetBackup. Pick out
the files you need and move them back where you need them.

That?s really the best way to do it. You can create an alternate location to
restore with inexpensive storage for less money than you can write the code
to do it ? and you?re still going to need to restore the entire dump file
somewhere or write code to dynamically keep track of both the fragment
structure and the dump file structure as you parse them in memory somewhere.

It sounds like that should be a piece of software worth some $$$.

If I?m wrong here, someone please correct me.

Mickey Baker
Safe Data Services, LLC
Independent Storage Consultant

________________________________________
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Andrew 
Wilkin
Sent: Wednesday, May 10, 2006 1:12 AM
To: Mark.Donaldson AT cexp DOT com
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] File listing for Fragment

Ok then,
 
I can identify that the file I'm looking for  is 'x' blocks from the start
of the backup image!, this is the  5th field in the *.f file.  My value is
105001394 for the 5th field.
 
How do I then go 'x' blocks from the start of the backup image on the tape?
I've been using 'mt' and it uses 'files' to count, not 'blocks' as specified
within the *.f file. Should I be using another utility?
 
Thanks
 
Regards 
Andrew Wilkin
Computer Systems Analyst 
Department of Lands
Panorama Ave
BATHURST, NSW, 2795, AUSTRALIA 
Ph: 61 2 6332 8397
Fx: 61 2 6332 8457
E-mail: Andrew.Wilkin AT lands.nsw.gov DOT au
WEB: www.lands.nsw.gov.au <http://www.lands.nsw.gov.au> 

 

________________________________________
From: Mark.Donaldson AT cexp DOT com [mailto:Mark.Donaldson AT cexp DOT com] 
Sent: Wednesday, 10 May 2006 8:26 AM
To: Andrew Wilkin
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] File listing for Fragment
No offense, but seeking to a single fragment & reading files is netbackup's
job.  The TOC you describe (associating fragment to file) is the quick
definition of Netbackup's image catalog.  You're starting to write the
application you've already bought.
 
To answer your question, I think you're going to have to mine the catalog
directly for the info you're looking for.  Look under the
/usr/openv/netbackup/db/images/<client>/<timestamp>/<imagename>.f files for
the file to frag info.  If you're using the binary catalog, you'll have to
convert them.
 
-M

________________________________________
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Steve 
Cashman
Sent: Tuesday, May 09, 2006 2:53 PM
To: Andrew Wilkin
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] File listing for Fragment
Try bpimagelist -backupid (backup_id)

Steve
 
On 5/5/06, Andrew Wilkin <Andrew.Wilkin AT lands.nsw.gov DOT au> wrote: 
Hi All,
 
I'm after a away to extract the files that are contained within an
individual BackupId that has multiple "Fragments" (File number on a Tape).
 
If I have a single backup image and it spans many "Fragments" / File
Numbers, on the media, is there a way to extract a listing's of those files
from a single Fragment/File Number using a single backup id, though the are
multiple Fragments for that single backup? (sorry but I've repeated myself
here!) 
 
I know I can get a complete listing of a specific backup using bpmedialist
and give the backup id etc. But using the Images on Media control( from the
GUI), I can see the multiple Fragments on the Tape with the File Numbers, so
there must be a way somehow to relate this back into the NetBackup DataBase
to use it! 
 
This has come about from an historic NDMP system I've had to recover from
and for the particular directory, they are 27 Fragments, and I know how to
extract the NDMP backup using a SUN system, but I didn't know which file on
the tape to skip to. I have managed to extract the data. But I'm hoping I
can get a better solution to what I've done, by creating a TOC for each of
the Fragments and grep-ping for my data to extract! 
 
Thanks
 
Regards 
Andrew Wilkin
Computer Systems Analyst 
Department of Lands 
Panorama Ave
BATHURST, NSW, 2795, AUSTRALIA 
Ph: 61 2 6332 8397
Fx: 61 2 6332 8457 
E-mail: Andrew.Wilkin AT lands.nsw.gov DOT au
WEB: www.lands.nsw.gov.au < http://www.lands.nsw.gov.au> 
 
 
***************************************************************
This message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender. 
Views expressed in this message are those of the individual sender, and are
not necessarily the views of the Department of Lands.
This email message has been swept by MIMEsweeper for the presence of
computer viruses.
*************************************************************** 




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