Em quinta-feira, 26 de outubro de 2017 19:29:36 UTC+1, Nuno Higgs escreveu:
> 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
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"
Device Type = gfapi
Media Type = GlusterFile
Label Media = yes
Random Access = yes
Automatic Mount = yes
Removable Media = no
Always Open = no
}
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.