Here is a small manual for setting up a connection between an Ubuntu server and a Synology Diskstation. Prerequesites are that you created a shared folder and configured your Diskstation successfully. After that you can start sharing that content to your Ubuntu server.
- Open the Diskstation Web Application
- Go to “Control Panel – Shared Folder”
- Open “NFS-Access”
- Create a new one
Client: * Privilegde: Read/Write Root squash: default Asynchronous: Yes
- Write down the mount path from the bottom of this pop-up, in my case it was “/volume1/Backup”
- Open a shell on your Ubuntu server
sudo apt-get install nfs-common sudo mkdir /mnt/diskstation sudo mkdir /mnt/backup sudo mount -t nfs 192.168.0.X:/volume1/Backup /mnt/backup
- Congratulations! You just added a Synology Diskstation to your Ubuntu server.
What now? Perhaps you want to sync your data (like I did):
rsync -rvz /mnt/diskstation /mnt/backup -r ... include subdirectories -v ... verbose mode, display output -z ... compress content for lesser network traffic