Issues with gluster as a backend

20 views
Skip to first unread message

Nuno Higgs

unread,
Oct 26, 2017, 2:29:36 PM10/26/17
to bareos...@googlegroups.com

Hello All,


I am having issues with gluster as backend for my bareos-sd.
I’ve installed the latest production version (16.2.4) of bareos and the gluster version 3.10.15.

I am able to write correctly on the glusterfs storage, but I appear to have a misconception on what it can do, or error on my part.

I want backups to write inside a directory and not directly on the root of the volume.
My config file is as follows:

 

# cat /etc/bareos/bareos-sd.d/device/GlusterStorage.conf

Device {

  Name = GlusterStorage

   Description = "Storage device using a Gluster backend."

   Archive Device = "/backups/"

   Device Options = "uri=gluster://172.16.0.14/storage01"

   Device Type = gfapi

   Media Type = GlusterFile

   Label Media = yes

   Random Access = yes

   Automatic Mount = yes

   Removable Media = no

   Always Open = no

}

 

 

This will write the “virtual tapes” from my backup to the root of the gluster storage volume. I want to write them inside  the gluster volume into /backups/.
What am I missing?

Thanks,

Nuno

nu...@nuneshiggs.com

unread,
Oct 26, 2017, 2:59:26 PM10/26/17
to bareos-users
Found it:

# cat /etc/bareos/bareos-sd.d/device/GlusterStorage.conf
Device {
Name = GlusterStorage
Description = "Storage device using a Gluster backend."
Archive Device = "Gluster Device"
Device Options = "uri=gluster://172.16.0.14/storage01/backups"
Reply all
Reply to author
Forward
0 new messages