Bacula-users

Re: [Bacula-users] Automatic_Volume_Labeling_Creation

2010-02-05 10:25:23
Subject: Re: [Bacula-users] Automatic_Volume_Labeling_Creation
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 5 Feb 2010 10:23:00 -0500
> i want to setup a special setup for the volume management for a pool.
>
> Every month the pool should use a new Volume with the label of the date + 
> string. Also it should split the Volumes in 25GB if it reached the limit.
>
> I know how to configure each Statement alone, but not together in combination:
>
> Pool &#123;
> &nbsp; Name = File
> &nbsp; Pool Type = Backup
> &nbsp; LabelFormat = 
> "$&#123;Year&#125;-$&#123;Month&#58;p/2/0/r&#125;-$&#123;Day&#58;p/2/0/r&#125;_$&#123;Hour&#58;p/2/0/r&#125;h$&#123;Minute&#58;p/2/0/r&#125;m"
> &nbsp; AutoPrune = yes
> &nbsp; VolumeRetention = 31d
> &nbsp; Maximum Volume Bytes = 25G
> &#125;
>
> With this setup a Volume exceeding the size limit, the pool create a new 
> volume, which lasts 31days or to the size of 25G again. It is possible this 
> happens before the end of the month. With the new month bacula should use a 
> new Volume, no matter how old ur big the 2nd volume of the last month is. But 
> it would use the 2nd Volume, not a new one.
>
> How can bacula do this automatically?
>
I am not sure what you are asking. However with the setup above you
are telling bacula to fill a volume up to 25GB and after it fills to
25GB keep it for 31 days.

John

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users