Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add config include files for storage backends
Different configuration backends require different configurations. With this patch, backend specific include files can be installed at /etc/bareos/bareos-sd.d/. If they should be used, they have to be included in the main configuration file. The configuration files bareos-sd.conf and bareos-dir.conf have been twice in git. One version is replaced by a link. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
- Loading branch information
1 parent
99e0098
commit e985170
Showing
15 changed files
with
94 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
/etc/bareos/bareos-dir.d | ||
/var/lib/bareos | ||
/var/log/bareos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/etc/bareos/bareos-sd.d | ||
/var/lib/bareos/storage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# | ||
# Preparations: | ||
# | ||
# Copy ceph.conf and ceph.keyring from server /etc/ceph to clients /etc/ceph. | ||
# | ||
# Create a rados volume on the server: | ||
# /usr/bin/rados lspools | ||
# /usr/bin/rados mkpool bareos | ||
# /usr/bin/rados df | ||
# | ||
# include this configuration file in bareos-sd.conf by | ||
# @/etc/bareos/bareos-sd.d/device-ceph-rados.conf | ||
# | ||
|
||
Device { | ||
Name = RadosStorage | ||
Device Type = rados | ||
Media Type = RadosFile | ||
Archive Device = /etc/ceph/ceph.conf:hostname | ||
LabelMedia = yes | ||
Random Access = yes | ||
AutomaticMount = yes | ||
RemovableMedia = no | ||
AlwaysOpen = no | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
# Preparations: | ||
# | ||
# include this configuration file in bareos-sd.conf by | ||
# @/etc/bareos/bareos-sd.d/device-gluster.conf | ||
# | ||
|
||
Device { | ||
Name = GlusterStorage | ||
Device Type = gfapi | ||
Media Type = GlusterFile | ||
Archive Device = gluster://server.example.com/volumename/bareos | ||
LabelMedia = yes | ||
Random Access = yes | ||
AutomaticMount = yes | ||
RemovableMedia = no | ||
AlwaysOpen = no | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.