]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-virtual.conf.in
Port missing RestoreObject Plugin Config code from BEE.
[bacula/bacula] / regress / scripts / bacula-sd-virtual.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 }
20
21 #
22 # List Directors who are permitted to contact Storage daemon
23 #
24 Director {
25   Name = @hostname@-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 = DiskChanger
36   Changer Device = @disk_drive@/conf
37   Changer Command ="@scriptdir@/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 = DiskChangerMedia
45   Archive Device = @disk_drive@/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 = DiskChangerMedia
58   Archive Device = @disk_drive@/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 Device {
69   Name = FileStorage
70   Media Type = File
71   Archive Device = @tmpdir@
72   LabelMedia = yes;                   # lets Bacula label unlabeled media
73   Random Access = Yes;
74   AutomaticMount = yes;               # when device opened, read it
75   RemovableMedia = no;
76   AlwaysOpen = no;
77 }
78
79
80 # Send all messages to the Director, 
81 # mount messages also are sent to the email address
82 #
83 Messages {
84   Name = Standard
85   director = @hostname@-dir = all, !terminate
86 }
87
88 Cloud {
89   Name = DummyCloud
90   Driver = "File"
91   HostName = "@tmpdir@/cloud"
92   BucketName = "DummyBucket"
93   AccessKey = "DummyAccessKey"
94   SecretKey = "DummySecretKey"
95   Protocol = HTTPS
96   UriStyle = VirtualHost
97 }
98