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