]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-btape.conf.in
Port missing RestoreObject Plugin Config code from BEE.
[bacula/bacula] / regress / scripts / bacula-sd-btape.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 3.0.3
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
36 Autochanger {
37   Name = tape
38   Changer Device = @autochanger@
39   Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d"
40   Device = Drive-0
41 }
42
43
44 Device {
45   Name = Drive-0                   # 
46   Media Type = Tape
47   Archive Device = @tape_drive@
48   AutomaticMount = yes;               # when device opened, read it
49   AlwaysOpen = yes;
50   Autochanger = yes;
51   RemovableMedia = yes;
52   @@sbindir@/tape_options
53   Maximum Block Size = 64512
54   Minimum Block Size = 64512
55   Maximum File Size = 5G 
56 # MaximumVolumeSize = 400M
57   Maximum Rewind Wait = 6000
58   Maximum Changer Wait = 6000
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