]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-tape.conf.in
Use /dev/sg0 rather than /dev/sg1 so vtape devices work
[bacula/bacula] / regress / scripts / bacula-sd-tape.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 9.0.8
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 Device {
37   Name = tape                     # 
38   Media Type = tape
39   Archive Device = @tape_drive@
40   AutomaticMount = yes;               # when device opened, read it
41   AlwaysOpen = yes;
42   RemovableMedia = yes;
43   @@sbindir@/tape_options
44   Control Device = /dev/sg0
45   Alert Command = "@scriptdir@/tapealert %l"
46 # Maximum File Size = 1000000
47 # MaximumVolumeSize = 400M
48 }
49
50
51 # Send all messages to the Director, 
52 # mount messages also are sent to the email address
53 #
54 Messages {
55   Name = Standard
56   director = @hostname@-dir = all, !terminate
57   append = "@working_dir@/log1.sd" = all
58 }
59
60 Cloud {
61   Name = DummyCloud
62   Driver = "File"
63   HostName = "@tmpdir@/cloud"
64   BucketName = "DummyBucket"
65   AccessKey = "DummyAccessKey"
66   SecretKey = "DummySecretKey"
67   Protocol = HTTPS
68   UriStyle = VirtualHost
69 }