Veritas-bu

Re: [Veritas-bu] question about bplist

2008-07-22 18:41:22
Subject: Re: [Veritas-bu] question about bplist
From: rascal <rascal1981 AT gmail DOT com>
To: "Frank Pettinato" <ecpdba97 AT yahoo DOT com>
Date: Tue, 22 Jul 2008 17:27:58 -0500
Thanks for all of the great information everyone!  A couple of things I would like to add:

1.  I didn't add a directory because I was under the impression (and if you try for the day of and up to a couple of days back) that simply searching via policy (-k policy) I would get everything backed up via policy. 

2.  I went with the default on -R because I think that will cover everything I need quite well but based on the suggestions I will do some further investigation.

3.  I see the command bpflist was mentioned and I hadn't considered it because of the parsing work I would have to do but now that I am thinking about it, it might be a better option to my data

Other than that, I think this will get me all set.  Again, thanks to you guys for the information and feedback, I really appreciate it!!


On Mon, Jul 21, 2008 at 12:33 PM, Frank Pettinato <ecpdba97 AT yahoo DOT com> wrote:
Rascal,

You have to supply a directory of some kind or the command won't work. So replace this:

bplist -C clientname -S svrname -k policy_name -R -l -s 07/1/2008 00:00:00
> -e 07/1/2008 23:59:59 > /$HOME/policy_name_070108

With this:

bplist -C clientname -S svrname -k policy_name -R -l -s 07/1/2008 00:00:00
> -e 07/1/2008 23:59:59 / > /$HOME/policy_name_070108

Thanks,
Frank



----- Original Message ----
From: A Darren Dunham <ddunham AT taos DOT com>
To: veritas-bu AT mailman.eng.auburn DOT edu
Sent: Monday, July 21, 2008 10:08:58 AM
Subject: Re: [Veritas-bu] question about bplist

On Sat, Jul 19, 2008 at 07:43:11PM -0500, rascal wrote:
> I have constructed what I thought would be a good command but I am running
> into an error.  Here is my command:
>
> bplist -C clientname -S svrname -k policy_name -R -l -s 07/1/2008 00:00:00
> -e 07/1/2008 23:59:59 > /$HOME/policy_name_070108
>
> but I get this error
>
> Status 227:  Entity not found

So the one thing I would worry about that you have not specified is the
file(s) to search for.  Default is your current directory.  Does the
current directory you're running the command in exist on the client?  If
not, maybe you want to explicitly give '/' as a filename?

> Ok, well how about this, just to make sure we are not insane?
>
> bplist -C clientname -S svrname -R -l -s 07/1/2008 00:00:00 -e 07/1/2008
> 23:59:59 /path_to_dir_backed_up_by_policy > /$HOME/policy_name_070108

And here you specify the path explicitly.

> So my question is, what am I doing wrong or what could I do to get the
> information I want which is a breakdown of how much is backed with a file
> listing and the amounts next to the file?  Is this the wrong command or is
> there a better way to go about this?

In some cases (depending on exactly what I'm doing) I prefer to parse
'bpflist' output instead of 'bplist'.  It can be harder to get output,
but it allows me to pass in an explicit backupid.

--
Darren
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu




--
Matthew MCP, MCSA, MCTS, OCA
rascal1981 AT gmail DOT com

Define Trouble:
Why did you apply THAT patch??....
_______________________________________________
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>