mgutt Posted April 12 Author Share Posted April 12 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 Quote Link to comment
xerox445 Posted April 21 Share Posted April 21 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. Quote Link to comment
Fidel84 Posted Monday at 02:26 PM Share Posted Monday at 02:26 PM 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 Quote Link to comment
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.