Bacula-users

Re: [Bacula-users] Automatically Disposing of Volumes

2009-02-13 13:11:59
Subject: Re: [Bacula-users] Automatically Disposing of Volumes
From: Thiago Simoes <tsimoes AT lightcomm.com DOT br>
Date: Fri, 13 Feb 2009 16:13:21 -0200
John Drescher wrote:
> On Fri, Feb 13, 2009 at 12:24 PM, Chris Lieb
> <chris.lieb+nospam AT gmail DOT com> wrote:
>   
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I am setting up Bacula right now for the first time and have pretty much
>> everything working, but have one nagging concern.  Since Bacula was
>> designed around tape backup systems, it supports recycling of volumes so
>> that they can be used again after a certain period of time.  However, I
>> do not think that this is very useful for a hard drive-based backup setup.
>>
>> My setup currently is using the three pool system (Full-Diff-Incr) that
>> is mentioned in the Bacula documentation.  My labeling scheme produces a
>> unique label for every volume (1 job per volume).  When a volume reaches
>> a certain age, based on the pool that it is in, I want the volume to be
>> deleted from disk instead of recycled.  You can purge files from the
>> database as part of the configuration, but I don't see any way to have
>> Bacula delete volumes over a certain age.
>>
>>     
> Bacula does not delete volumes from the disk.
>
>   
>> How can this be achieved?  I am using Bacula 2.4.4 for my director,
>> storage, and all file daemons, with the director and storage daemons
>> running on a current Linux install and the backups being stored onto
>> their own hard drive.
>>
>>     
> If you really want to do this you will have to roll your own solution.
> Most likely this will involve a cron job scripting commands to
> bconsole.
>
> 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
>   
Chris,

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.
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.

Thiago Simões

------------------------------------------------------------------------------
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