Veritas-bu

[Veritas-bu] Exclusion lists based on policy?

2007-03-21 14:33:25
Subject: [Veritas-bu] Exclusion lists based on policy?
From: bob944 at attglobal.net (bob944)
Date: Wed, 21 Mar 2007 14:33:25 -0400
> Is there a way to setup an exclusion list for an entire policy?
> Currently we are using the directive ALL_LOCAL_DRIVES to backup our
> clients. However, we'd like to exclude C:\ and system state 
> information
> as we don't perform bare metal restores in our environment, 
> but want to
> ensure we backup all the "data" drives. What makes it 
> difficult is that
> in our environment there is no standard, so one system might 
> have only a
> D:\ drive, while another system might have a D:\, E:\, and F:\ drive.
> Being able to use ALL_LOCAL_DRIVES and excluding C:\ and system state
> would be helpful.

You understand, I believe, that the basic design of NetBackup classes (a
far better name than policies, IMO) was/is to specify parameters that
are appropriate for as large a group of systems as possible, and, in the
case of the selection list, to allow local administrative control to
system owners so they can exclude /SecretProprietaryCode or
/DBFsLiveHere as necessary.  So, no, there isn't a way on the master
(_from_ the master is a different story, as others have noted) to say
"ALL_LOCAL_DRIVES -and !C:."  

But doing what you want is easy, even if it looks ugly:  go ahead and
make the selection list D:\, E:\, ... for as high a drive letter as any
system in the class has.  As long as one item in the selection list
exists*, you won't get a status 71 (none of the files in the list
exist).  Again, it's the overall design of NetBackup:  back up the
greatest number of systems with the fewest classes--they don't have to
all be alike.

* One item in each stream, that is.  If your class generates multiple
streams per client (via "Allow multiple data streams" and/or use of
NEW_STREAM directives, a stream with nothing to back up (say, "f:\" in a
job by itself and no drive F) will report, appropriately, that none of
the files in that job's list exist.



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