]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-virtual-tape.conf.in
Big backport from Enterprise
[bacula/bacula] / regress / scripts / bacula-sd-virtual-tape.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 # You may need to change the name of your tape drive
5 #   on the "Archive Device" directive in the Device
6 #   resource.  If you change the Name and/or the 
7 #   "Media Type" in the Device resource, please ensure
8 #   that dird.conf has corresponding changes.
9 #
10
11 Storage {                             # definition of myself
12   Name = @hostname@-sd
13   SDPort = @sdport@                  # Director's port      
14   WorkingDirectory = "@working_dir@"
15   Pid Directory = "@piddir@"
16   Subsys Directory = "@subsysdir@"
17   Maximum Concurrent Jobs = 100
18 }
19
20 #
21 # List Directors who are permitted to contact Storage daemon
22 #
23 Director {
24   Name = @hostname@-dir
25   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
26 }
27
28 Autochanger {
29   Name = tape
30   Changer Device = /dev/null
31   Changer Command = ""
32   Device = Drive-0, Drive-1
33 }
34
35 Device {
36   Name = Drive-0
37   Device Type = File
38   Media Type = tape
39   Archive Device = @tmpdir@
40   AutomaticMount = yes;               # when device opened, read it
41   Autochanger = yes
42   Drive Index = 0
43   AlwaysOpen = yes;
44   RemovableMedia = yes;
45 # Maximum File Size = 1000000
46 }
47
48 Device {
49   Name = Drive-1
50   Device Type = File
51   Media Type = tape
52   Archive Device = @tmpdir@
53   AutomaticMount = yes;               # when device opened, read it
54   Autochanger = yes
55   Drive Index = 1
56   AlwaysOpen = yes;
57   RemovableMedia = yes;
58 # Maximum File Size = 1000000
59 }
60
61
62 # Send all messages to the Director, 
63 # mount messages also are sent to the email address
64 #
65 Messages {
66   Name = Standard
67   director = @hostname@-dir = all, !terminate
68 }
69
70 Cloud {
71   Name = DummyCloud
72   Driver = "File"
73   HostName = "@tmpdir@/cloud"
74   BucketName = "DummyBucket"
75   AccessKey = "DummyAccessKey"
76   SecretKey = "DummySecretKey"
77   Protocol = HTTPS
78   UriStyle = VirtualHost
79 }
80