Skip to content

Commit

Permalink
Changed sample files for cloud backends for new syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen authored and pstorz committed Mar 27, 2015
1 parent f5df5af commit 9a5cd60
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/defaultconfigs/bareos-sd.d/device-ceph-rados.conf
Expand Up @@ -11,10 +11,18 @@
# include this configuration file in bareos-sd.conf by
# @/etc/bareos/bareos-sd.d/device-ceph-rados.conf
#
# Old syntax:
# Archive Device = /etc/ceph/ceph.conf:poolname
#
# New syntax:
# Archive Device = <text>
# Device Options = "conffile=/etc/ceph/ceph.conf,poolname=poolname"
#

Device {
Name = RadosStorage
Archive Device = /etc/ceph/ceph.conf:poolname
Archive Device = "Rados Device"
Device Options = "conffile=/etc/ceph/ceph.conf,poolname=poolname"
Device Type = rados
Media Type = RadosFile
Label Media = yes
Expand Down
10 changes: 9 additions & 1 deletion src/defaultconfigs/bareos-sd.d/device-gluster.conf
Expand Up @@ -4,10 +4,18 @@
# include this configuration file in bareos-sd.conf by
# @/etc/bareos/bareos-sd.d/device-gluster.conf
#
# Old syntax:
# Archive Device = gluster://server.example.com/volumename/bareos
#
# New syntax:
# Archive Device = <text>
# Device Options = "uri=gluster://server.example.com/volumename/bareos"
#

Device {
Name = GlusterStorage
Archive Device = gluster://server.example.com/volumename/bareos
Archive Device = "Gluster Device"
Device Options = "uri=gluster://server.example.com/volumename/bareos"
Device Type = gfapi
Media Type = GlusterFile
Label Media = yes
Expand Down

0 comments on commit 9a5cd60

Please sign in to comment.