Re: [Bacula-users] Bacula not recycling all volumes

2015-06-03 Thread Marc van Houtum
Thanks for your help Ana, I will our maximum volumes and maximum volume bytes settings. Best regards, Marc On 3-6-2015 20:29, Ana Emília "M. Arruda" wrote: Hello Marc, Your autoprune configurations seems ok for me. Bacula will delete from catalog jobs/files older than 14 days and purge volu

Re: [Bacula-users] Bacula not recycling all volumes

2015-06-03 Thread Marc van Houtum
Hi Ana, Thanks for the explanation. Is this something that can be configured? Ideally I'd like Bacula to recycle/purge every volume that no longer has any jobs related to it. I was under the impression that AutoPrune would do this seeing as it does mark volumes are purged if run manually: *p

Re: [Bacula-users] Bacula not recycling all volumes

2015-06-03 Thread Ana Emília M . Arruda
Hi Marc, Yes. This is for preserving your data as long as possible. In your pool definition, you have configured: Maximum Volume Bytes = 50G # Limit Volume size to something reasonable Maximum Volumes = 100 # Limit number of Volumes in Pool This way, Bacula will only recycle a volume if the limi

Re: [Bacula-users] Bacula not recycling all volumes

2015-06-02 Thread Marc van Houtum
Hi Ana, Does this mean that Bacula prefers to create new volumes over recycling old ones? Here's the output, Vol-0001 for example isn't used by any backup jobs looking at the bacula database, as are 15 others: *list media Pool: File +-++---+-+---

Re: [Bacula-users] Bacula not recycling all volumes

2015-06-02 Thread Ana Emília M . Arruda
Hello Marc, Could you post a "list media" output? Bacula will just recycle a volume when there is no one available for append and it is not possible to create a new one (and you have automatic labeling configured). Best regards, Ana On Tue, Jun 2, 2015 at 5:04 PM, Marc van Houtum wrote: > I do

Re: [Bacula-users] Bacula not recycling all volumes

2015-06-02 Thread Marc van Houtum
I don't have any jobs with long retention times. Both file and job retention are set at 14 days for every client, while the LastWritten date on the oldest volume is May 10th. The catalog is showing the oldest backup to be from May 19th and according to the JobMedia table in the bacula database

Re: [Bacula-users] Bacula not recycling all volumes

2015-06-02 Thread Josh Fisher
Chances are that one or more jobs on those full volumes has a long retention time, causing them to not be recycled. If only one job is configured with the wrong retention time, then only the volumes that job's data gets written to ceases to recycle, making it appear to be random volumes. On 6/

Re: [Bacula-users] Bacula not recycling all volumes

2015-06-02 Thread Marc van Houtum
On 2-6-2015 14:43, Marc van Houtum wrote: > If i compare the resultst to the volume files on the filesystem, I can > see that there are currently 16 volume files not in use at the moment. > Does anyone have any idea as to why these aren't being recycled? I've > attached my bacula-dir.conf. Forg