Permission denied when creating backups on NFS from Proxmox Backup Server

Smoochii

New Member
Jun 2, 2024
8
0
1
I have a NAS (truenas scale) set up with an SMB shared directory called Backups. I added the SMB share to PVE using the web GUI. I also have Proxmox Backup Server running as an LXC in PVE. I created a bind mount to get the share to the LXC.

So far everything is working and I can access the samba share from the PBS shell but when I go to create a data store for the backups, I get permission denied.

The owner of the folder on PBS I think is nobody in nogroup.

What do I need to do to be able to create the datastore?
 
Hi,

The main process for handling backups and datastores runs as the backup user, which is normally resolved to uid 34 – you can check your system using the id backup command.

You need to ensure that this user can access the mount. If the container you set up is an unprivileged container you need also to deal with the UID mappings.

See e.g. this post for a basic tutorial for doing such things: