The original post: /r/ubuntu by /u/IacovHall on 2024-04-29 18:57:23.

hey

i want to mount a nfs share to rsync backups of my persistent docker files (is volume the right word?)

why nfs and not smb? apparently smb has issues with rsync’ing symlinks, even when using the -a parameter (i don’t know why i need symlinks, but apparently nginx proxy manager uses them and the rsync fails otherwise)

apparently there are a lot of parameters that i could set to mount an nfs share

most of my VMs use dietpi, and when using its drive-manager, the /etc/fstab looks roughly like this:

ip.ad.dr.es:/path/to/nfs/share /mnt/mountpoint nfs nofail,noauto,x-systemd.automount

it seems to work well - but can i simply copy/paste it to ubuntu (server, 22.04 hwe)?

or are there better ways/parameters to mount a nfs share to ubuntu?