Advertisement
GrandZ

bacula-fd

May 12th, 2015
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.52 KB | None | 0 0
  1. #  For Bacula release 5.2.6 (21 February 2012) -- ubuntu 14.04
  2. Storage {                             # definition of myself
  3.   Name = fileserver-sd
  4.   SDPort = 9103                  # Director's port      
  5.   WorkingDirectory = "/var/lib/bacula"
  6.   Pid Directory = "/var/run/bacula"
  7.   Maximum Concurrent Jobs = 2
  8.   SDAddress = 192.168.0.55
  9. }
  10.  
  11. Director {
  12.   Name = fileserver-dir
  13.   Password = "dhaD5QduRgkjuii5y9fuEyWSw2nnYI3N2"
  14. }
  15.  
  16. Director {
  17.   Name = fileserver-mon
  18.   Password = "hAS2by5iz0rHxfGL-xiAiHLg4Op6FbJbQ"
  19.   Monitor = yes
  20. }
  21.  
  22. #  LabelMedia = yes;                   # lets Bacula label unlabeled media
  23.  
  24. Device {
  25.   Name = Drive-1                      #
  26.   Drive Index = 0
  27.   Media Type = File
  28.   Archive Device = /backup/doki
  29.   AutomaticMount = yes;               # when device opened, read it
  30.   AlwaysOpen = yes;
  31.   LabelMedia = yes;
  32.   RemovableMedia = no;
  33.   RandomAccess = no;
  34.   AutoChanger = yes
  35.   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  36.   Alert Command = "sh -c 'smartctl -H -l error %c'"  
  37. }
  38.  
  39. Device {
  40.   Name = Drive-2                      #
  41.   Drive Index = 6
  42.   Media Type = File
  43.   Archive Device = /mnt/storage/bacula/
  44.   AutomaticMount = yes;               # when device opened, read it
  45.   AlwaysOpen = yes;
  46.   LabelMedia = yes;
  47.   RemovableMedia = no;
  48.   RandomAccess = no;
  49.   AutoChanger = yes
  50.   Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
  51.   Alert Command = "sh -c 'smartctl -H -l error %c'"  
  52. }
  53.  
  54. Messages {
  55.   Name = Standard
  56.   director = fileserver-dir = all
  57. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement