]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: add a Storage::FileStorage2 to match the "orphan" Dir::File2
authorAlain Spineux <alain@baculasystems.com>
Mon, 19 Feb 2024 09:38:37 +0000 (10:38 +0100)
committerEric Bollengier <eric@baculasystems.com>
Mon, 19 Feb 2024 12:50:03 +0000 (13:50 +0100)
- new-test-bacula-dir.conf.in as Storage(File2) but there was no
  matching Storage resource in the SD side test-bacula-sd.conf.in

regress/scripts/test-bacula-sd.conf.in

index f9611bd7a6598cb731f2c7909c3af6d7528e5e0b..20d11f18c4484251c914f8f0b4112dd23173dae8 100644 (file)
@@ -57,6 +57,17 @@ Device {
   AlwaysOpen = no;
 }
 
+Device {
+  Name = FileStorage2
+  Media Type = File
+  Archive Device = @tmpdir@
+  LabelMedia = yes;                   # lets Bacula label unlabelled media
+  Random Access = Yes;
+  AutomaticMount = yes;               # when device opened, read it
+  RemovableMedia = no;
+  AlwaysOpen = no;
+}
+
 Device {
   Name = Dummy
   Media Type = Dummy