]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2disk-drive.conf.in
regress: fix regress-win32 prog to handle monitor section in bacula-fd.conf
[bacula/bacula] / regress / scripts / bacula-sd-2disk-drive.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 1.39
5 #
6 # You may need to change the name of your tape drive
7 #   on the "Archive Device" directive in the Device
8 #   resource.  If you change the Name and/or the 
9 #   "Media Type" in the Device resource, please ensure
10 #   that dird.conf has corresponding changes.
11 #
12
13 Storage {                             # definition of myself
14   Name = @hostname@-sd
15   SDPort = @sdport@                  # Director's port      
16   WorkingDirectory = "@working_dir@"
17   Pid Directory = "@piddir@"
18   Subsys Directory = "@subsysdir@"
19   Maximum Concurrent Jobs = 100
20 }
21
22 #
23 # List Directors who are permitted to contact Storage daemon
24 #
25 Director {
26   Name = @hostname@-dir
27   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
28 }
29
30 #
31 # Devices supported by this Storage daemon
32 # To connect, the Director's bacula-dir.conf must have the
33 #  same Name and MediaType. 
34 #
35 Autochanger {
36   Name = tape
37   Changer Device = @disk_drive@/conf
38   Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
39   Device = Drive-0, Drive-1
40 }
41
42 Device {
43   Name = Drive-0
44   Device Type = File
45   Media Type = tape
46   Archive Device = @disk_drive@/drive0
47   AutomaticMount = yes;               # when device opened, read it
48   Autochanger = yes
49   Drive Index = 0
50   AlwaysOpen = yes;
51   RemovableMedia = yes;
52 # Maximum File Size = 1000000
53 }
54
55 Device {
56   Name = Drive-1
57   Device Type = File
58   Media Type = tape
59   Archive Device = @disk_drive@/drive1
60   AutomaticMount = yes;               # when device opened, read it
61   Autochanger = yes
62   Drive Index = 1
63   AlwaysOpen = yes;
64   RemovableMedia = yes;
65 # Maximum File Size = 1000000
66 }
67
68 Autochanger {
69   Name = Virtual
70   Changer Device = /dev/null
71   Changer Command =""
72   Device = vDrive-1, vDrive-2
73 }
74
75 Device {
76   Name = vDrive-1
77   Device Type = File
78   Media Type = Disk
79   Archive Device = @tmpdir@
80   AutomaticMount = yes;               # when device opened, read it
81   Autochanger = yes
82   Drive Index = 0
83   AlwaysOpen = yes;
84   RemovableMedia = yes;
85   Maximum Concurrent Jobs = 3
86   Volume Poll Interval = 15
87 # Maximum File Size = 1000000
88 }
89
90 Device {
91   Name = vDrive-2
92   Device Type = File
93   Media Type = Disk
94   Archive Device = @tmpdir@
95   AutomaticMount = yes;               # when device opened, read it
96   Autochanger = yes
97   Drive Index = 1
98   AlwaysOpen = yes;
99   RemovableMedia = yes;
100   Maximum Concurrent Jobs = 3
101   Volume Poll Interval = 15
102 # Maximum File Size = 1000000
103 }
104
105
106 # Send all messages to the Director, 
107 # mount messages also are sent to the email address
108 #
109 Messages {
110   Name = Standard
111   director = @hostname@-dir = all, !terminate
112 }