Pasi Kärkkäinen wrote:
> On Mon, Jun 02, 2008 at 02:32:24PM -0400, Dan Langille wrote:
>>> So.. bacula recycles the volume, but the name of the volume stays the same
>>> as it was given
>>> when it was used for the first time..
>>>
>>> Any tips for this?
>> In short, give up on getting labels redone when recycling.
>>
>> To do that is not recycling.
>>
>> If you are absolutely dead keen on relabeling, delete the volumes
>> yourself, via script or otherwise. ignoring recycling. i.e. Do not
>> Recycle.
>>
>> If it was me, I'd allow recycling and ignore the labels. Labels are
>> just labels and in my humble opinion, and your milage may vary, having
>> the date in the volume name is not useful to me. I can see the last
>> written date for a given volume by inspecting the output of 'list media'.
>>
>
> Ok.. I can see your point.
>
> I know I can and will see all the information from the database and/or
> bconsole, but I was thinking if it's possible it would be nice to be able to
> see all the info from the shell also.. using just ls/du etc.
You can get it via the shell:
echo 'list media' | bconsole | grep MYVOLUMELABEL
Simliar things can be done using psql:
echo 'select whatever from tables where....' | psql bacula
> If I set recycle to no, then I'd have to make a custom script to handle the
> file/volume purging manually..
Not so much purging as a simple delete from the Catalog and then from disk.
--
Dan Langille
BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
PGCon - The PostgreSQL Conference: http://www.pgcon.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|