I would like to backup my .kodi and .config directories. I have a Unraid server that can run scripts using a crontab schedule. I am having a problem with mounting the Kodi /storage directory.
I am trying to use:
mkdir -p /mnt/Kodi
mount -t nfs ip_address_of_Kodi:/storage /mnt/Kodi
but it comes up with the error:
mount.nfs: requested NFS version or transport protocol is not supported
What do I need to do to be able to mount my Kodi/storage directory?
Mount it using SMB
CE does not have a NFS server running by default.
It is probably easier to sync folders using rsync/ssh and private keys, but that may just be me 
How would I mount it using SMB? I have been trying “mount -t cifs” without success.
The closest I came is with error:
mount: <ip_address>:storage /mnt/Kodi/: can’t find in /etc/fstab.
The format for a cifs mount is:
mount //<ip address>/storage /mnt/Kodi -o username=<user>,password=<pw>
What do I use for <user>
and <pw>
? I did not set up a username/password (at least I don’t think they exist).
Never mind, I figured it out. Same user/pw as SSH’ing into my Coreelec box.