Ubuntu Version: 24.04.3 LTS
Dual boot (Ubuntu/Windows 10) desktop PC
Ubuntu knowledge level: Almost none!
Unsure how much of this info is relevant:
Dual boot PC consists of two physical HDD’s - Ubuntu OS on one, Windows 10 OS on other. All the personal folders and files I wish to backup are stored on Windows HDD. I want to back up my folders/files to a NAS (QNAP TS-212P), ideally from Ubuntu OS. I occasionally boot to Windows but my default is to boot to Ubuntu and I wish to use Deja Dup to backup.
I’ve struggled to understand the NAS software (OS?) since I purchased it although I have done the odd successful backup from Windows years ago but can’t remember how I did it and I’d rather use Ubuntu anyway. Rather than try and explain my pathetic attempts at backing up and all the associated error messages, I’d prefer to wipe the slate clean and start from the very beginning so I wish to set everything up (again) from scratch. Your advice would be gratefully received.
I’ve bodged my backup solution for the last few years (very fragmented, i.e. USB sticks and DVD’s) but feel it’s about time to do things properly.
Please be aware that I’m a complete Linux amateur - any tech. jargon will mean nothing to me, thanks. And it might be best to give me a general overview of what I need to do first, rather than anything too specific at this stage (such as entering code into the Terminal).
Select the desired shared folder and click Edit Shared Folder Permission.
Change the Permission type to NFS and configure the access rights (Read-only or Read/Write) for the IP address of your Ubuntu machine.
Click Apply.
On the Ubuntu System
Install necessary tools (if not already installed):
bash
sudo apt update
sudo apt install nfs-common
Verify the QNAP exports: Use the showmount command with your QNAP’s IP address to see the available NFS shares:
bash
showmount -e [QNAP_NAS_IP_address]
Create a local mount point:
bash
sudo mkdir /media/qnap_share
Manually mount the share to test it:
bash
sudo mount -t nfs [QNAP_NAS_IP_address]:/[Shared_Folder_Name] /media/qnap_share
You should now be able to access the files in the /media/qnap_share directory.
5. Mount automatically on boot (fstab): To make the mount persistent across reboots, edit the /etc/fstab file:
bash
sudo nano /etc/fstab
Add the following line to the end of the file, replacing placeholders with your actual IP and folder name:
The bg option ensures that the boot process continues in the background even if the NAS is temporarily unavailable.
6. Apply the fstab entry without rebooting: