$ sudo apt update
$ sudo apt install nfs-kernel-server
$ sudo mkdir /mnt/nfs -p
$ sudo chown nobody:nogroup /mnt/nfs
$ sudo chmod 777 /mnt/nfs
$ sudo nano /etc/exports
- add something like
/mnt/nfs 192.168.1.101(rw,sync,no_root_check,no_subtree_check)
$ sudo systemctl restart nfs-kernel-server
$ sudo mkdir /private/nfs
$ sudo mount -t nfs -o resvport,rw 192.168.1.106:/mnt/nfs /private/nfs
- Create disk image using Disk Utilities, mount it.
$ sudo tmutil setdestination /Volumes/MacBackup