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 volumes older than 14 days. In the case of volumes, they will not be reused if Bacula finds an available volume for writing (status = append) or if it can create a new one.

I don´t know a solution with automatic label configuration where you have space for new volumes and Bacula recycle/reuse an existing one instead of creating a new one.

Your problem is "This is causing our disk based storage to fill up with unused volume files."

If you know exactly the amount of space you have for your backups, you can limit the number/size of your volumes to fit in this amount of space. In the case of your pool configuration, you will use 5 TB (50G x 100 volumes). This will be the total amount of space that will be used by your pool.
Pool {
   Name = File
   Pool Type = Backup
   Recycle = yes                       # Bacula can automatically recycle 
Volumes
   AutoPrune = yes                     # Prune expired volumes
   Action On Purge = Truncate
   Volume Retention = 14 days          # Max retention
   Maximum Volume Bytes = 50G          # Limit Volume size to something 
reasonable
   Maximum Volumes = 100               # Limit number of Volumes in Pool
   Label Format = "Vol-"               # Auto label
}

Best regards,
Ana​


------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to