Jump to content

[Support] rsync-server


Recommended Posts

44 minutes ago, The_Holocron said:

thoughts?

Does this work?

https://community.synology.com/enu/forum/1/post/140590

Quote

This is very well possible. The backup job is started as "root" users on the synology, so the only thing needed is a key pair in ~root/.ssh/

 

To make one, I did as follows:

 

go to Control Panel

select Terminal & SNMP

check "Enable SSH service" (port 22)

Now you SSH to the server and do:

 

use "sudo" to become root

ssh-keygen -t ed25519 #or just run "ssh-keygen" without the ed25519 option

cd to /root/.ssh/ and copy the public key. This is the pub key that the root user is using in Hyper Backup.

To check, you can make a Hyper Backup task with rsync for destination, set the correct server name, set "Transfer encryption" to "on", port to 22 and user name to the user that is going to receive the files. Leave "password" empty and click "shared folder". If everything goes well, the receiving server will have say something like "Accepted publickey for $your-username from $ip-address port $something ssh2: ED25519 SHA256:asdjf298euro23ji4iweuhroweijfaetceteraetceteraetcetera

 

Link to comment
  • 2 weeks later...

I'm im the same boat, I am trying to remotely backup a synology dsm 6.2.2 using rsync to my unraid server over the internet. I tried to use the ssh-keygen ed25519, and then use the cat ~/.ssh/id_ed25519.pub command, got the key and put it into rsync docker container as shown, but still no joy.

On DSM 6.2.2 I am getting this when trying, and here is the log when i am trying to connect. Not sure how to move forward at this point, would appreciate any help you could provide. Seems like I am missing just one step.
 

image.png

Screenshot 2024-04-21 151500.png

Link to comment

Hello, I used this container to solve the problem for Synology Hyperbackup (axiom/rsync-server).
I got the container via Docker and adjusted puid/guid, rsync port, user, Pw, mount target to unraid. Ds1019+ Dsm7 worked locally without any problems.
If it doesn't belong here, please move it.

If anyone would like to customize the container "nicely" and put it in the app store, it would definitely be welcome

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...