Re: [Veritas-bu] Generate list of file systems in a Policy[...]
2009-08-24 13:06:48
Checkout the "bpcoverage" command. It compares the
filesystems on a client versus the policy list and will tell you what is and
isn't backed up and by what policy.
bpcoverage -c <client_name>
-M
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of root
user
Sent: Monday, August 24, 2009 8:56 AM
To: veritas-bu
Subject: Re: [Veritas-bu] Generate list of file systems in a Policy[...]
ALL_LOCAL_DRIVES is not a solution for me because these are
Policies that only backup a few specific file systems.
You are correct that 'bplist' can
only tell me what I've backed up int the past, not what I am about to
backup. But I've decided that this is good enough. A 'bplist -C
$CLNT -k $POLI' will give me a list of directories to look at. If a new
file system is added, I will not know about it until after it's backed up once,
but that is acceptable.
On Sat, Aug 22, 2009 at 2:46 PM, bob944 <bob944 AT attglobal DOT net> wrote:
> On the client, I have a
need to generate a list of file
> systems to be backed up by a particular Policy. There
> does not seem to be a way to do this from the client.
> Anyone know better?
It's not clear to me what you want. If Ed Wilts'
interpretation--run some command on a client that gives the
selection list of a policy--his answer is all you need: the
question makes no sense in NetBackup.
If the client is a media server (or one on which you've installed
the Windows Admin Client, which is effectively a full media server
installation), you have the tools and permissions to do commands
like bppllist to find your answer. Just *why* you'd want to do
this, I don't know.
Still working from the client end, there is a ton of info in:
o the client job tracker probably tells the client something (I've
never used it) that is being backed up in realtime
o the BAR GUI tells the client everything that has been backed up,
how and when--but not by policy
o the ~/veritas/netbackup/logs directory has the VxUL logs by
default and the bpbkar log if you create the directory; I'm not used
to looking in VxUL logs, but the bpbkar log has the policy
information as well as everything that got backed up
o bpbkar logs also have the selection list (the log entries that
determine what FS/volume a selection occupies and the CreateSnapshot
entries (client-dependent, I'm sure)
o bplist
o all the above, obviously, tell you what has happened, not what
will happen in the future
o client-notification email
o bpstart scripts
And the way I first read your question, something like "how do I
make sure I back up all the filesystems on a client without knowing
what they are in advance," the answer is you put ALL_LOCAL_DRIVES in
the policy's selection list.
|
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|