From 5e6c9b98ecc1ee46642c86f3ed82a5b28a15b84c Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 25 Sep 2009 20:28:50 +0200 Subject: [PATCH] Define File Pool and limit size to 5G --- bacula/src/dird/bacula-dir.conf.in | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/bacula/src/dird/bacula-dir.conf.in b/bacula/src/dird/bacula-dir.conf.in index b60ab5ebb5..c42ebe0c29 100644 --- a/bacula/src/dird/bacula-dir.conf.in +++ b/bacula/src/dird/bacula-dir.conf.in @@ -32,7 +32,7 @@ JobDefs { Schedule = "WeeklyCycle" Storage = File Messages = Standard - Pool = Default + Pool = File Priority = 10 } @@ -279,9 +279,6 @@ Messages { append = "@working_dir@/log" = all, !skipped } - - - # Default pool definition Pool { Name = Default @@ -291,6 +288,18 @@ Pool { Volume Retention = 365 days # one year } +# File Pool definition +Pool { + Name = File + Pool Type = Backup + Recycle = yes # Bacula can automatically recycle Volumes + AutoPrune = yes # Prune expired volumes + Volume Retention = 365 days # one year + Maximum Volume Bytes = 5G # Limit Volume size to something reasonable + Maximum Volumes = 100 # Limit number of Volumes in Pool +} + + # Scratch pool definition Pool { Name = Scratch -- 2.39.2