Procházet zdrojové kódy

bareos-sd: enable compression

lt07 admin před 9 roky
rodič
revize
7028a744ca
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      bareos-sd.d/lto7.conf

+ 4 - 1
bareos-sd.d/lto7.conf

@@ -6,11 +6,14 @@ Device {
   Device Type = Tape
   Archive Device = /dev/nst0
   AutomaticMount = yes;               # when device opened, read it
-  AlwaysOpen = yes;
+  AlwaysOpen = no;
   RemovableMedia = yes;
   RandomAccess = no;
   Maximum File Size = 20GB;
   AutomaticMount = yes;
   LabelMedia = yes;
+  Auto Deflate = out; #compress on LTO7
+  Auto Deflate Algorithm = LZO;
+  Auto Inflate = in; # decompress on LTO7
 }