[Veritas-bu] Command line restores from a specific backup image?

2003-07-08 08:54:29
Subject: [Veritas-bu] Command line restores from a specific backup image?
From: david.chapa AT adic DOT com (David Chapa)
Date: Tue, 8 Jul 2003 05:54:29 -0700
So you are browsing backups for restore (TIR), entering a date and its
not displaying the images you expect?

Remember that a TIR restore will look for the last full (regardless of
your range) which may be why you are seeing more images than you
anticipated.  Not that it will necessarily "use" everything it finds,
but it will display what is finds that fit your criteria.  

I'm pretty sure that's the logic used when browsing backups for TIR

So, to answer  you question...I don't know of any undocumented command
with bprestore to do what you are asking, however, as you have already
eluded, if you convert the utime of the BID you will definitely narrow
it down to a particular backup image for a traditional restore request.



-----Original Message-----
From: Brian Chase [mailto:vaxzilla AT jarai DOT org] 
Sent: Monday, July 07, 2003 6:17 PM
To: Veritas Backup
Subject: [Veritas-bu] Command line restores from a specific backup

Is it possible to feed specific backup image id into a command line
util?  I know that you can use the `-T' option in combination with the
`-e mm/dd/yyyy hh:mm:ss' option to restore from a specific image based
on its backup time.  What I'm wondering is if there's a similar, perhaps
undocumented, way to do true image restores with bprestore by directly
providing the backup id (e.g. someclient_1057490169).

I'm finding that both the `bp' and `xbp' utils fail to limit the number
of returned backup images, even when I specify a narrowed search over a
specific time frame and path.  So, when I ask either util to show me a
list of backup images for say 6/22/2003 through 6/29/2003, it also
returns images from many months earlier and the days since then.
(Basically, it seems to be returning all of the available images for the
client, regardless of when they occurred or whether they contain the
files I'm searching for).

The bplist command does return listings of a properly narrowed search,
but it doesn't differentiate between FULL vs INCR backups in its
results.  I /want/ to be able to choose the most recent full and then
all the subsequent incrementals--which would be easy if either bp or xbp
would return images only for the requested timeframe.

Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu

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