]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2disk-drive.conf
Update
[bacula/bacula] / regress / scripts / bacula-sd-2disk-drive.conf
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 = localhost-sd
15   SDPort = 8103                  # Director's port      
16   WorkingDirectory = "/home/kern/bacula/regress/working"
17   Pid Directory = "/home/kern/bacula/regress/working"
18   Subsys Directory = "/home/kern/bacula/regress/working"
19 }
20
21 #
22 # List Directors who are permitted to contact Storage daemon
23 #
24 Director {
25   Name = localhost-dir
26   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
27 }
28
29 #
30 # Devices supported by this Storage daemon
31 # To connect, the Director's bacula-dir.conf must have the
32 #  same Name and MediaType. 
33 #
34 Autochanger {
35   Name = DDS-4
36   Changer Device = /home/kern/bacula/regress/tmp/disk-changer/conf
37   Changer Command ="/home/kern/bacula/regress/bin/disk-changer %c %o %S %a %d"
38   Device = Drive-0, Drive-1
39 }
40
41 Device {
42   Name = Drive-0
43   Device Type = File
44   Media Type = DDS-4
45   Archive Device = /home/kern/bacula/regress/tmp/disk-changer/drive0
46   AutomaticMount = yes;               # when device opened, read it
47   Autochanger = yes
48   Drive Index = 0
49   AlwaysOpen = yes;
50   RemovableMedia = yes;
51 # Maximum File Size = 1000000
52 }
53
54 Device {
55   Name = Drive-1
56   Device Type = File
57   Media Type = DDS-4
58   Archive Device = /home/kern/bacula/regress/tmp/disk-changer/drive1
59   AutomaticMount = yes;               # when device opened, read it
60   Autochanger = yes
61   Drive Index = 1
62   AlwaysOpen = yes;
63   RemovableMedia = yes;
64 # Maximum File Size = 1000000
65 }
66
67
68
69 # Send all messages to the Director, 
70 # mount messages also are sent to the email address
71 #
72 Messages {
73   Name = Standard
74   director = localhost-dir = all, !terminate
75 }