• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

backup a drive's content to Synology NAS

Question

ultimate99    55

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?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Mindovermaster    3,489

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

Share this post


Link to post
Share on other sites
  • 0
ultimate99    55

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?

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.