]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/stored/bacula-sd.conf.in
Use the command line utility dropdb instead of the psql command
[bacula/bacula] / bacula / src / stored / bacula-sd.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
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 = @sd_port@                  # Director's port      
16   WorkingDirectory = "@working_dir@"
17   Pid Directory = "@piddir@"
18 }
19
20 #
21 # List Directors who are permitted to contact Storage daemon
22 #
23 Director {
24   Name = @hostname@-dir
25   Password = "@sd_password@"
26 }
27
28 #
29 # Devices supported by this Storage daemon
30 # To connect, the Director's bacula-dir.conf must have the
31 #  same Name and MediaType. 
32 #
33
34 Device {
35   Name = FileStorage
36   Media Type = File
37   Archive Device = /tmp
38   LabelMedia = yes;                   # lets Bacula label unlabeled media
39   Random Access = Yes;
40   AutomaticMount = yes;               # when device opened, read it
41   RemovableMedia = no;
42   AlwaysOpen = no;
43 }
44
45 #
46 # A Linux or Solaris tape drive
47 #
48 #Device {
49 #  Name = DDS-4                        # 
50 #  Media Type = DDS-4
51 #  Archive Device = @TAPEDRIVE@
52 #  AutomaticMount = yes;               # when device opened, read it
53 #  AlwaysOpen = yes;
54 #  RemovableMedia = yes;
55 #  RandomAccess = no;
56 #}
57
58 #
59 # A FreeBSD tape drive
60 #
61 #Device {
62 #  Name = DDS-4 
63 #  Description = "DDS-4 for FreeBSD"
64 #  Media Type = DDS-4
65 #  Archive Device = /dev/nsa1
66 #  AutomaticMount = yes;               # when device opened, read it
67 #  AlwaysOpen = yes
68 #  Offline On Unmount = no
69 #  Hardware End of Medium = no
70 #  BSF at EOM = yes
71 #  Backward Space Record = no
72 #  Fast Forward Space File = no
73 #  TWO EOF = yes
74 #}
75
76 #
77 # A OnStream tape drive. 
78 # You need the kernel osst driver 0.9.14 or later, and
79 #   do "mt -f /dev/nosst0 defblksize 32768" once as root.
80 #
81 #Device {
82 #  Name = OnStream
83 #  Description = "OnStream drive on Linux"
84 #  Media Type = OnStream
85 #  Archive Device = @TAPEDRIVE@
86 #  AutomaticMount = yes;               # when device opened, read it
87 #  AlwaysOpen = yes
88 #  Offline On Unmount = no
89 ## The min/max blocksizes of 32768 are *required*
90 #  Minimum Block Size = 32768                             
91 #  Maximum Block Size = 32768
92 #}
93  
94
95  
96
97
98 #
99 # A very old Exabyte with no end of media detection
100 #
101 #Device {
102 #  Name = "Exabyte 8mm"
103 #  Media Type = "8mm"
104 #  Archive Device = @TAPEDRIVE@
105 #  Hardware end of medium = No;
106 #  AutomaticMount = yes;               # when device opened, read it
107 #  AlwaysOpen = Yes;
108 #  RemovableMedia = yes;
109 #  RandomAccess = no;
110 #}
111
112
113 # Send all messages to the Director, 
114 # mount messages also are sent to the email address
115 #
116 Messages {
117   Name = Standard
118   director = @hostname@-dir = all
119 }