Veritas-bu

[Veritas-bu] Just how smart is Netbackup on restores? (Full/Cumu/Incr)

2008-12-23 16:55:23
Subject: [Veritas-bu] Just how smart is Netbackup on restores? (Full/Cumu/Incr)
From: "Donaldson, Mark" <Mark.Donaldson AT staples DOT com>
To: <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Tue, 23 Dec 2008 14:46:00 -0700
I've got a set of policies that follow a pattern of:
Monthly -> Full
Weekly  -> Cumulative Incremental
Daily   -> Differential Incremental

If it's been 20 days from the last full, then what I need is the full
backup from 20 days ago, then a big skip to the previous cumulative &
the incrementals from just that cumulative.

If I define a 20 day restore range in my command, though, I'm not sure
that Netbackup isn't restoring *all* backups including the unneeded ones
between the full and the latest cumulative.

Make sense?

An example, my images for one filesystem:

12/05/2008 10:26:45 Monthly  /vol/fs03/
12/06/2008 19:46:11 Incr     /vol/fs03/
12/07/2008 20:07:50 Incr     /vol/fs03/
12/08/2008 18:35:59 Incr     /vol/fs03/
12/09/2008 15:45:30 Incr     /vol/fs03/
12/10/2008 16:06:20 Incr     /vol/fs03/
12/11/2008 12:57:15 Incr     /vol/fs03/
12/12/2008 13:27:55 Cumu     /vol/fs03/
12/13/2008 18:52:48 Incr     /vol/fs03/
12/14/2008 18:44:20 Incr     /vol/fs03/
12/15/2008 16:26:47 Incr     /vol/fs03/
12/16/2008 15:39:36 Incr     /vol/fs03/
12/17/2008 15:23:43 Incr     /vol/fs03/
12/18/2008 10:27:52 Incr     /vol/fs03/
12/19/2008 10:14:00 Cumu     /vol/fs03/
12/20/2008 13:41:58 Incr     /vol/fs03/
12/21/2008 15:20:24 Incr     /vol/fs03/
12/23/2008 10:42:47 Incr     /vol/fs03/

OK - now if I want /vol/fs03 back to its best state as of 12/23, I need
to restore the 12/5 full & the 12/19 through 12/23 incrementals.  The
incrementals from 12/6 to 12/18 are included in the 12/19 Cumulative so
I don't want to waste my time (and in fact, may contain data that we
deleted and we want don't want to restore).

What I want to issue is one "smart" command: 
"bprestore -s 12/5/2008 -e 12/23/2008 /vol/fs03".  

I want 5 images to come back. 

If Netbackup does it dumb, then this is two restore statements:
"bprestore -s 12/5/2008  -e 12/5/2008 /vol/fs03"
"bprestore -s 12/19/2008 -e 12/23/2008 /vol/fs03"

So, in response to the single "smart" command, will Netbackup restore
just 5 images or do a dumb restore and put all the incrementals between
12/6 & 12/18 back, too?  I know I could write a test for this but it's
easier right now to see if one of you knows.

-M

_______________________________________________
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>