Bacula-users

Re: [Bacula-users] Automatically Disposing of Volumes

2009-02-13 13:25:48
Subject: Re: [Bacula-users] Automatically Disposing of Volumes
From: John Drescher <drescherjm AT gmail DOT com>
To: Thiago Simoes <tsimoes AT lightcomm.com DOT br>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 13 Feb 2009 13:22:45 -0500
> I'm looking for the same solution. I'm working on a script to do that
> since bacula cannot do by itself as John stated above.
> I think that what we need to do is delete the volumes from the catalog
> and after that delete the volume from the harddisk.
>
sounds correct to me

> No idea how to get the volume that we really need to delete.
> But if you have more luck than me please share your ideas.
>

list media pool=yourpool

grab volstatus
and lastwritten
and volretention

and compute if the volume should be purged. volretention is in seconds

John

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users