From a29a2c5e2fdf8a0ff6dbe0082c11b35f53864595 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 4 Sep 2020 10:58:25 +0200 Subject: [PATCH] BEE Backport regress/scripts/bacula-dir.conf.vc.in This commit is the result of the squash of the following main commits: Author: Eric Bollengier Date: Thu May 4 14:34:04 2017 +0200 regress: Add templates for virtual changer --- regress/scripts/bacula-dir.conf.vc.in | 60 +++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100755 regress/scripts/bacula-dir.conf.vc.in diff --git a/regress/scripts/bacula-dir.conf.vc.in b/regress/scripts/bacula-dir.conf.vc.in new file mode 100755 index 000000000..f58787935 --- /dev/null +++ b/regress/scripts/bacula-dir.conf.vc.in @@ -0,0 +1,60 @@ + +Storage { + Name = VirtA + Address = @hostname@ + SDPort = @sdport@ + Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" + Device = VirtCh + Media Type = VirtMedia0 + Autochanger = Yes + Maximum Concurrent Jobs = 10 + # 9 drives so we fix read to less than half + Maximum Concurrent Read Jobs = 4 +} + +Storage { + Name = VirtB + Address = @hostname@ + SDPort = @sdport@ + Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" + Device = VirtCh + Media Type = VirtMedia1 + Autochanger = Yes + Maximum Concurrent Jobs = 50 + Maximum Concurrent Read Jobs = 4 +} + +Pool { + Name = "Pool1" + Pool Type = Backup + Storage = "VirtA" + Job Retention = 2 hours + File Retention = 100 min + Volume Retention = 3 hours + Maximum Volume Jobs = 7 + Label Format = "Pool1-" + Next Pool = "Pool2" +} + +Pool { + Name = "Pool2" + Pool Type = Backup + Storage = "VirtA" + Job Retention = 2 hours + File Retention = 100 min + Volume Retention = 3 hours + Maximum Volume Jobs = 7 + Label Format = "Pool2-" + Next Pool = "Pool3" +} + +Pool { + Name = "Pool3" + Pool Type = Backup + Storage = "VirtB" + Job Retention = 2 hours + File Retention = 105 min + Volume Retention = 2.5 hours + Maximum Volume Jobs = 1 + Label Format = "Pool3-" +} -- 2.47.3