]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/ansi-sd-tape.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / ansi-sd-tape.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 2.2
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
35 Device {
36   Name = tape                     # 
37   Media Type = tape
38   Archive Device = @tape_drive@
39   AutomaticMount = yes;               # when device opened, read it
40   AlwaysOpen = yes;
41   RemovableMedia = yes;
42   @@sbindir@/tape_options
43   Control Device = /dev/sg1
44   Alert Command = "@scriptdir@/tapealert %l"
45 # Maximum File Size = 1000000
46 # MaximumVolumeSize = 400M
47   Label Type = ansi
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 }