On Friday, March 24, 2017 at 10:34:58 AM UTC-4, [email protected] wrote:
> Hello,
> I have installed bareos 16.2.4. It does backups well until I want to change 
> file storage. I have NAS that I mount over nfs onto the server with bareos. 
> If I want to backup to that NAS mounted over nfs the log says:
> 
> "Unable to stat device 192.168.95.242:/volume1/NetBackup:"
> 
> The problem is with rights, I think becase it mounts as nobody:nobody.
> 
> Please, does anynoe know how to backup on NAS storage?
> Thank you
> Libor
> 
> 
> 
> My FileStorage config:
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /mnt/synology
>   LabelMedia = yes;                   # lets Bareos label unlabeled media
>   Random Access = yes;
>   AutomaticMount = no;               # when device opened, read it
>   RemovableMedia = yes;
>   AlwaysOpen = no;
>   Description = "File device. A connecting Director must have the same Name 
> and MediaType."
>   Requires Mount = yes;
>   Mount Point = /mnt/synology
>  Mount Command = "/bin/mount -t nfs %a %m"
>   Unmount Command = "/bin/umount %m"
> }

I mount the nfs share at the OS level and bareos just sees it as a file path.

-- 
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.

Reply via email to