backup onto NAS over nfs

673 views
Skip to first unread message

libor...@gmail.com

unread,
Mar 24, 2017, 10:34:58 AM3/24/17
to bareos-users
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"
}

Chris Sheaves

unread,
Mar 24, 2017, 1:12:33 PM3/24/17
to bareos-users

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

Reply all
Reply to author
Forward
0 new messages