/usr/share/doc/bacula-common/examples/conf/m4.bacula-sd.conf is in bacula-common 7.0.5+dfsg-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | # bacula-sd.conf
#
# Default Bacula Storage Daemon Configuration file
#
# WARNING:
# This file is generated from /opt/lysator/etc/bacula/bacula-dir.conf
# Edit the source file and then run 'make'.
#
Storage { # definition of myself
Name = Baccus
SDPort = 9103 # Director's port
WorkingDirectory = "/var/bacula/working"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 20
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = Baccus
Password = "KLUwcp1ZTeIc0x265UPrpWW28t7d7cRXmhOqyHxRr"
}
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Device {
Name = File-0
Media Type = File
Archive Device = /var/bacula/storage/file-0
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = DLT-0
Media Type = DLT7000
Archive Device = /dev/rmt/0cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
Changer Device = /dev/scsi/changer/c1t0d0
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Drive Index = 0
Maximum Spool Size = 4gb
Maximum Job Spool Size = 1gb
Spool Directory = /var/bacula/spool/dlt-0
}
Device {
Name = DLT-1
Media Type = DLT7000
Archive Device = /dev/rmt/1cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
Changer Device = /dev/scsi/changer/c1t0d0
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Drive Index = 1
Maximum Spool Size = 2gb
Maximum Job Spool Size = 1gb
Spool Directory = /var/bacula/spool/dlt-1
}
Device {
Name = DLT-2
Media Type = DLT7000
Archive Device = /dev/rmt/2cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
Changer Device = /dev/scsi/changer/c1t0d0
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Drive Index = 2
Maximum Spool Size = 2gb
Maximum Job Spool Size = 1gb
Spool Directory = /var/bacula/spool/dlt-2
}
Device {
Name = DLT-3
Media Type = DLT7000
Archive Device = /dev/rmt/3cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
Changer Device = /dev/scsi/changer/c1t0d0
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Drive Index = 3
Maximum Spool Size = 2gb
Maximum Job Spool Size = 1gb
Spool Directory = /var/bacula/spool/dlt-3
}
Device {
Name = DLT-4
Media Type = DLT7000
Archive Device = /dev/rmt/4cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
Changer Device = /dev/scsi/changer/c1t0d0
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Drive Index = 4
Maximum Spool Size = 2gb
Maximum Job Spool Size = 1gb
Spool Directory = /var/bacula/spool/dlt-4
}
Device {
Name = DLT-5
Media Type = DLT7000
Archive Device = /dev/rmt/5cbn
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Autochanger = yes;
Changer Device = /dev/scsi/changer/c1t0d0
Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
Drive Index = 5
Maximum Spool Size = 2gb
Maximum Job Spool Size = 1gb
Spool Directory = /var/bacula/spool/dlt-5
}
#
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
Name = Standard
director = Baccus = all
}
|