Thank you! Just to make sure I am following correctly, for your LXC running PBS, it sounds like you used a privileged container on Proxmox itself, right (vs. an LXC on TrueNAS)?
Comment on Proxmox Backup Server: Bare Metal vs. Privileged LXC vs. VM?
tvcvt@lemmy.ml 5 days ago
If you’d like some separation, one option is to create a VM on TrueNAS for PBS that connects to an NFS export where all the data would be stored.
What I did in this scenario is an LXC container running PBS, which uses a bindmount for storage. That bindmount is populated via an NFS export from my NAS, mounted on the PVE host using autofs so that if it disconnects, it will reconnect as soon as it can.
libretech@reddthat.com 5 days ago
tvcvt@lemmy.ml 5 days ago
No, I used an unprivileged container and I set the permissions on the NFS server to accommodate that.
klangcola@reddthat.com 4 days ago
Thanks for sharing! TIL about
autofs. Now I’m curious to try NFS again.What’s the failure mode if the NFS happens to be offline when PBS initiates a backup? Does PNS try to backup anyway? What if the NFS is offline while PBS boots?
tvcvt@lemmy.ml 4 days ago
Sure thing—
autofsis a pretty cool utility and it works with SMB as well.If the storage isn’t present for PBS, the backup would fail. There are files inside the directory that PBS will notice are missing.
Mounting the NFS export in the PVE host is the simplest way to get shared storage into an LXC container. You have to fight
apparmorto mount NFS or SMB inside the container directly.