backup a drive's content to Synology NAS


Recommended Posts

I want to back up an ssd in my pc, running linux,  (1tb) to my Synology NAS, and be able to access it from anywhere (as a personal cloud drive). I followed this guide: https://gnax.io/backup-to-your-synology-nas-with-rsync/

 

I got this error when I tried to sync by Downloads folder (to test it out):

 

My input:

 

user@diskstation:~$ rsync -av --delete -e "ssh -i /home/rsync/.ssh/id_rsa -p 99" /home/user/Downloads/ rsync@192.ip.30::NetBackup/

 

Error:


 

sending incremental file list

rsync: change_dir "/home/user/Downloads" failed: No such file or directory (2) sent 12 bytes received 8 bytes 2.67 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1355) [sender=3.0.9]

 

Any ideas?

Link to comment
Share on other sites

This might be a long shot, but I think you need sudo at the front of that... Don't quote me though... 🤔

Link to comment
Share on other sites

I was able to get it working. Is there a way to automate this? For example, any changes to the folder, it would automatically reflect in the NAS?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.