Veritas-bu

Re: [Veritas-bu] question about bplist

2008-07-21 14:02:25
Subject: Re: [Veritas-bu] question about bplist
From: Frank Pettinato <ecpdba97 AT yahoo DOT com>
To: veritas-bu AT mailman.eng.auburn DOT edu
Date: Mon, 21 Jul 2008 10:33:45 -0700 (PDT)
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
<Prev in Thread] Current Thread [Next in Thread>