On Tue, 8 Jul 2003, David Chapa wrote:
> 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.
The problem I'm experiencing is with the bp command's Restore Backups
menu (and similarly with xbp's Browse Backups mode). According the
documentation for bp:
L (List Backup Images)--Lists the backups for the client that meet
the "Directory to Search", the "Range of Dates", the "Directory
Depth" box, "Filename Filter", and the "Keyword phrase to
associate with this backup" criteria.
Which isn't how it's behaving at all. If ask for the list of backup
images from 06/01/2003 through 07/01/2003 for a subdirectory under my
"/net/foo/" filesystem, which is only backed up with my
"Production_Servers" class, I'd expect to see a few dozen images.
Instead, the `L' command returns a list of several thousand (legitimate)
backup images dating from today all the way back through the later
months of 2002. Probably around 99.9% of those images are for backup
classes completely unrelated to the "Production_Servers" class, and none
of those other classes contain any references to files from the
"/net/foo/" filesystem. What bp appears to be doing is outputing the
complete list of backup images for the requested client.
The selection menu item behaves as expected, but they can take a lot of
time when my master server is busy. It'd be very helpful if I could
narrow the queries not only by client, backup type, date range, and
path--but also by explicit backup class. I generally only need to
search for files from a single class, and it at least /feels/ like
NetBackup is querying the entire catalog. That's speculation on my
part; maybe it's handled more cleverly.
Here's an example:
---------------------------------------------------------------------------
Path: /net/foo/dept/sw/doc/
Start Date: 06/01/2003 00:00:00 Master Server: master
End Date: 07/01/2003 00:00:00 Source Client: master
Files Selected: 0 Destination Client: master
Directory Depth: 1 level Class Type: Standard
Display Mode: Brief Keyword Phrase:
Restore Backups
---------------
s) Select Files and Directories... p) Change Path...
e) Edit/View Selected Files... d) Change Date Range...
i) Initiate Restore c) Change Directory Depth...
x) Change Display Mode to Verbose m) Change Master Server...
l) List Backup Images... b) Change Source Client...
a) Specify Alternate Path... t) Change Destination Client
q) Quit Menu y) Change Class Type
h) Help k) Change Keyword Phrase
ENTER CHOICE:
---------------------------------------------------------------------------
I press the L key. Time passes...
Time continues to pass...
I wander off to find a soda...
I return and leisurely sip my delicious icy cola...
I finish my drink.
More time passes...
*ding*
---------------------------------------------------------------------------
Backed Up Expires Files KB C Sched Type Class K
---------------- ---------- -------- --------- - ------------ ------------ --
07/08/2003 14:46 01/18/2038 192 76064 N User Backup pex_cl_da2ba 98
07/08/2003 14:45 01/18/2038 14 5472 N User Backup pex_cl_da2ba C1
07/08/2003 14:44 01/18/2038 69 35808 N User Backup ham_cl_da2ba 0D
07/08/2003 14:44 01/18/2038 65 45696 N User Backup ham_cl_da2ba 7B
07/08/2003 14:43 01/18/2038 108 81760 N User Backup ham_cl_da2ba 87
07/08/2003 14:36 01/18/2038 207 22752 N User Backup ham_cl_da2ba 0E
07/08/2003 14:36 01/18/2038 207 156288 N User Backup ham_cl_da2ba 38
07/08/2003 14:36 01/18/2038 207 19008 N User Backup ham_cl_da2ba 65
07/08/2003 14:36 01/18/2038 207 139520 N User Backup ham_cl_da2ba 0C
07/08/2003 14:35 01/18/2038 119 11328 N User Backup ham_cl_da2ba 78
07/08/2003 14:35 01/18/2038 119 81920 N User Backup ham_cl_da2ba 77
etc...
06/22/2003 07:13 09/23/2003 151029 15583104 N Full Backup Production_S SP
06/22/2003 06:36 09/23/2003 27105 10251840 N Full Backup Production_S SP
etc... for thousands of lines.
04/09/2003 04:07 01/18/2038 115 1100960 N Incr Backup bb2_cl_scrba BB
04/09/2003 04:07 07/11/2003 23 5312 N Incr Backup Production_S SP
04/09/2003 04:06 07/11/2003 697 26432 N Incr Backup Production_S SP
04/09/2003 04:05 07/11/2003 292 81696 N Incr Backup Production_S SP
04/09/2003 04:05 01/18/2038 34 32 N Incr Backup bb2_cl_scrba BB
04/09/2003 04:04 01/18/2038 0 32 N Incr Backup bb2_cl_scrba BB
04/09/2003 04:02 07/11/2003 339 341664 N Incr Backup Production_S SP
04/09/2003 04:00 01/18/2038 0 32 N Incr Backup bb2_cl_scrba BB
04/09/2003 03:50 01/18/2038 440 13120 N Incr Backup bb2_cl_scrba BB
04/09/2003 03:40 07/11/2003 7014 740384 N Incr Backup Production_S SP
etc... blah blah blah.
10/14/2002 14:08 01/18/2038 44 41920 N User Backup sp2_cl_da2ba AC
10/14/2002 14:05 01/18/2038 35 31904 N User Backup sp2_cl_da2ba AC
10/14/2002 14:02 01/18/2038 53 56032 N User Backup sp2_cl_da2ba AC
10/14/2002 08:43 01/18/2038 91 187328 N User Backup pipe_cl_da2b AC
10/13/2002 19:43 01/18/2038 79591 13363232 N User Backup pipe_cl_da2b AC
-brian.
|