|
|
@@ -1,73 +1,8 @@
|
|
|
#
|
|
|
# Default Bareos Storage Daemon Configuration file
|
|
|
#
|
|
|
-# For Bareos release 15.2.2 (16 November 2015) -- ubuntu Ubuntu 14.04 LTS
|
|
|
-#
|
|
|
-# You may need to change the name of your tape drive
|
|
|
-# on the "Archive Device" directive in the Device
|
|
|
-# resource. If you change the Name and/or the
|
|
|
-# "Media Type" in the Device resource, please ensure
|
|
|
-# that the Bareos director has corresponding changes.
|
|
|
-#
|
|
|
-
|
|
|
-Storage { # definition of myself
|
|
|
- Name = lto7-sd
|
|
|
- Maximum Concurrent Jobs = 20
|
|
|
-
|
|
|
- # remove comment from "Plugin Directory" to load plugins from specified directory.
|
|
|
- # if "Plugin Names" is defined, only the specified plugins will be loaded,
|
|
|
- # otherwise all storage plugins (*-sd.so) from the "Plugin Directory".
|
|
|
- #
|
|
|
- # Plugin Directory = /usr/lib/bareos/plugins
|
|
|
- # Plugin Names = ""
|
|
|
-}
|
|
|
-
|
|
|
-#
|
|
|
-# List Directors who are permitted to contact Storage daemon
|
|
|
-#
|
|
|
-Director {
|
|
|
- Name = lto7-dir
|
|
|
- Password = "Ia+A/4PGvr4kFgI9CYOZX73qqRXqUi8llZNymggM3k18"
|
|
|
-}
|
|
|
-
|
|
|
-#
|
|
|
-# Restricted Director, used by tray-monitor to get the
|
|
|
-# status of the storage daemon
|
|
|
-#
|
|
|
-Director {
|
|
|
- Name = lto7-mon
|
|
|
- Password = "N2RQeE66evi54j+BY0CE5M4g1qsI8v3EC+Yuq26Z+GXT"
|
|
|
- Monitor = yes
|
|
|
-}
|
|
|
|
|
|
-#
|
|
|
-# Devices supported by this Storage daemon
|
|
|
-# To connect, the Director's bareos-dir.conf must have the same Name and MediaType.
|
|
|
-#
|
|
|
-Device {
|
|
|
- Name = FileStorage
|
|
|
- Media Type = File
|
|
|
- Archive Device = /var/lib/bareos/storage
|
|
|
- LabelMedia = yes; # lets Bareos label unlabeled media
|
|
|
- Random Access = yes;
|
|
|
- AutomaticMount = yes; # when device opened, read it
|
|
|
- RemovableMedia = no;
|
|
|
- AlwaysOpen = no;
|
|
|
-}
|
|
|
-
|
|
|
-#
|
|
|
-# include additional configuration files, if required
|
|
|
-#
|
|
|
-
|
|
|
-# eg.
|
|
|
-@/etc/bareos/bareos-sd.d/lto7.conf
|
|
|
-
|
|
|
-
|
|
|
-#
|
|
|
-# Send all messages to the Director,
|
|
|
-# mount messages also are sent to the email address
|
|
|
-#
|
|
|
-Messages {
|
|
|
- Name = Standard
|
|
|
- director = lto7-dir = all
|
|
|
-}
|
|
|
+@/etc/bareos/bareos-sd.d/storage/bareos-sd.conf
|
|
|
+@/etc/bareos/bareos-sd.d/director/*.conf
|
|
|
+@/etc/bareos/bareos-sd.d/device/*.conf
|
|
|
+@/etc/bareos/bareos-sd.d/messages/*.conf
|