skydivesean Posted June 27, 2020 Posted June 27, 2020 I have a new unraid box and a ubuntu box on a LAN. I would like to backup ubuntu to unraid server. Unraid server will be turned on once a week and the backup run manually. I think I have the syntax correct and have been using a similar command to do it locally. However just cant seem to get it working over the LAN. sean@mong:~$ rsync -avh --exclude 'lost+found' --stats --progress --delete /home/sean/mongdrive/ [email protected]:/backup [email protected]'s password: rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(235) [sender=3.1.2] mong is my Ubuntu box 192.168.0.100 is unraid Do i have to setup rsync on the unraid server somehow? I'm not sure even where to start to be honest. Thankyou Quote
JorgeB Posted June 27, 2020 Posted June 27, 2020 6 minutes ago, skydivesean said: [email protected]:/backup You need to specify the full path, assuming "backup" is the share name it would be "/mnt/user/backup" Quote
skydivesean Posted June 27, 2020 Author Posted June 27, 2020 Thanks, but that gives me the same error. Quote
JorgeB Posted June 27, 2020 Posted June 27, 2020 Then you have other issues, unfortunately error 12 can mean a lot of different things, take a look here: https://bobcares.com/blog/rsync-error-code-12/ Quote
JorgeB Posted June 27, 2020 Posted June 27, 2020 20 minutes ago, skydivesean said: sean@ missed this, you'll need to user user root 1 Quote
skydivesean Posted June 27, 2020 Author Posted June 27, 2020 5 minutes ago, johnnie.black said: missed this, you'll need to user user root That did it 😄 Thank you so so much. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.