Veritas-bu

[Veritas-bu] ALL_LOCAL_DRIVES

2006-04-21 16:54:03
Subject: [Veritas-bu] ALL_LOCAL_DRIVES
From: bob944 AT attglobal DOT net (bob944)
Date: Fri, 21 Apr 2006 16:54:03 -0400
> perhaps examine the output from:
> bppllist <policy_in_question> -U -L
> 
> And, from the client, with logging set to 5
> (bp.conf VERBOSE = 5)
> the /usr/openv/netbackup/logs/bpbkar and bpcd log files.
> 
> It will give an indication of how it is choosing the paths to follow.
> 
> We use the ALL_LOCAL_DRIVES (w/o cross mount points, as you 
> say) in our 
> windows policies.
> 
> And locally (on each client) we set an include of:
> *:\
> 
> This may get CDROMs as well, but may help your situation if 
> the bppllist 
> shows that NBU is indeed only using the ALL_LOCAL_DRIVES directive.

Excellent points on checking the logs to see everything that got backed
up and the why of what didn't.

Include lists, though, don't behave in that manner.  Includes apply
_only_ to the universe of what was excluded by an applicable exclude
list.  The exclude list _only_ applies to the universe of what was
selected in the selection list.

Since this comes up from time to time, I put together what I hope is an
illustrative demo for those who haven't indulged in exclude/include
lists before.  Oh, and replace "include list" with "exceptions to the
exclude list" if you're a Windows person--that's the new naming in
NetBackup 6.  First s/kill/cancel, then s/include list/exceptions to the
exclude list/.  The dumbing-down continues...

  ----------

# demo of selection/exclude/include logic in NetBackup

# the test policy backs up the path "/tmp/selection"
$ /usr/openv/netbackup/bin/admincmd/bppllist TEST2-prod-std | grep
^INCLUDE
INCLUDE /tmp/selection

# there is an exclude list excluding the "exclude" directory under
/tmp/selection
$ cat /usr/openv/netbackup/exclude_list.TEST2-prod-std
/tmp/selection/exclude

# there is an include list re-including a file within the excluded
universe
# and an include _not_ in the excluded universe--so it will have no
effect
$ cat /usr/openv/netbackup/include_list.TEST2-prod-std
/tmp/selection/exclude/included-file-okay
/tmp/include-this-not

# the test directories and files
$ find /tmp/sele*
/tmp/selection
/tmp/selection/exclude
/tmp/selection/exclude/excluded-file
/tmp/selection/exclude/included-file-okay
/tmp/selection/selected-file-okay
$ find /tmp/incl*
/tmp/include-this-not
/tmp/include-this-not/included-file-not

# run the backup and list the files it backed up
$ S=`date "%+%x %X"`

$ /usr/openv/netbackup/bin/bpbackup -i -p TEST2-prod-std -w
$ /usr/openv/netbackup/bin/bplist -k TEST2-prod-std -s $S -R /tmp

/tmp/selection/
/tmp/selection/selected-file-okay
/tmp/selection/exclude/included-file-okay
$

# note that the include list allows you to re-include a subset of
# the excluded list--it does not trump the original selection list



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