If you are using Proxmox Backup Server (PBS) and want to securely store backups on a QNAP NAS via NFS, follow this step-by-step guide to ensure a smooth integration.
PBSBackup
.192.168.1.100
).Install required package:
apt update && apt install nfs-common -y
Create a mount point:
mkdir -p /mnt/qnap-backup
Mount the NFS share using NFSv3:
mount -t nfs -o vers=3 192.168.1.50:/share/PBSBackup /mnt/qnap-backup
Add persistent mount to /etc/fstab
:
192.168.1.50:/share/PBSBackup /mnt/qnap-backup nfs defaults,_netdev,nofail,x-systemd.automount 0 0
mkdir /mnt/qnap-backup/proxmox-backup
Set correct ownership for PBS access:
chown backup:backup /mnt/qnap-backup/proxmox-backup chmod 700 /mnt/qnap-backup/proxmox-backup
https://pbs.example.com:8007
./mnt/qnap-backup/proxmox-backup
.QNAP-NFS
) and save it.Test if the PBS backup
user can write to the directory:
sudo -u backup touch /mnt/qnap-backup/proxmox-backup/testfile
Afterward, try creating a test backup in PBS and verify that it appears on your QNAP NAS.
showmount -e 192.168.1.50
to confirm NFS exports.Permission denied
, check UID/GID compatibility and firewall settings.