There is a similar topic about nextcloud, but I suppose a different topic can be ok.
I’m interested to mount /var/lib/nethserver or …/vmail, /ibay, /nextcloud, … to a NFS shared folder.
I read some old threads but I am interested to know if there are problems to mount these folders to an NFS share via /etc/fstab?
linux allows this, I do not know why it could not be possible, the only thing you must verify is during the backup, does your remote point will be available
I suppose that if the NFS share is active it is read without problem (and it must be active if I use it).
In the NFS server /etc/exports I use::
/DATA/VMAIL 172.16.1.11(async,rw,no_root_squash,no_subtree_check)
In the Nethserver VM /etc/fstab I use:
172.16.61.1:/DATA/WWW/VMAIL /var/lib/nethserver/vmail nfs auto,rw 0 0
In my intention I want use a small Proxmox VM (KVM) for the Nethserver installation and use shared NFS folders into the host. In the past I used to install Nethserver as LXC container, but it have many annoying problems …
It seems to work fine, but still not tested in production, so if there are useful hints …