All pastes #591907 Raw Edit

bacula-sd

public text v1 · immutable
#591907 ·published 2007-06-27 13:57 UTC
rendered paste body
Device {
  Name = LocalDiskStorage
  Media Type = File
  Archive Device = /home/system/bacula_localstorage
#  Archive Device = /tmp
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

#Device {
#  # See manual "Tips and Suggestions" "Total Automation of Bacula Tape Handling"
#  # we say to Bacula our single slot tapedrive is an autochanger
#  # combined with some parameters this allows for auto tapehandling
#  # we use a modified mtx-changer script as provided by Alexander Kuehn
#
#  # HP StorageWorks Ultrium 448 tapedrive 200/400GB 24MB/s sustainted native and compressed: 48 MB/sec
#  Name = Drive-1                      #
#  #Drive Index = 0
#  Media Type = LTO-2
#  Archive Device = /dev/nst0
#  #AutoChanger = yes;
#  # script taken from /usr/share/doc/bacula-common/examples/autochangers
#  Changer Command = "/etc/bacula/scripts/ak-mtx-changer.sh %o %a %S"
#  # Changer Command = "/etc/bacula/scripts/ak-mtx-changer.sh %o %a 1"
#  Maximum Changer Wait = 3d;         # 120 secs
#  Offline On Unmount = yes;           # required for the trick
#  AutomaticMount = yes;               # when device opened, read it
#  LabelMedia = yes;
#  AlwaysOpen = yes;                   # keep device locked
#  #RemovableMedia = yes;
#  #RandomAccess = no;
#
#  # Enable the Alert command only if you have the mtx package loaded
#  #Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#}

Device {
  Name = Drive-1
  Drive Index =0
  Media Type = LTO-2
  LabelMedia = yes
  #AlwaysOpen = yes
  AlwaysOpen = yes
  AutomaticMount = yes
  Archive Device = /dev/nst0
  #Offline On Unmount = no
  Offline On Unmount = yes
}