Page 1 of 1

Synology via SSH: Rsync not installed on remote

Posted: December 7th, 2023, 12:25 pm
by 50l3r
Hi guys,

I have been trying to set up a remote copy via rsync to a synology destination for quite some time now.

I have seen that rsync is not supported for synology devices and I am using SSH.

If i execute this command from my source server it works:

Code: Select all

ssh 50l3r@example.com -p 91
but I am not able to get the SSH destination to work. I get the following error:

Rsync is not installed on your server

Image

I have rsync in my synology:

Image

I use Synology DSM 7.2.1-69057

Re: Synology via SSH: Rsync not installed on remote

Posted: December 8th, 2023, 2:15 am
by JetAppsTrenton
Hello 50l3r,

Sorry for the inconvenience! We're sorry to hear that Synology disallows adding non-root/admin users with SSH access. This restriction does appear to be an active topic with Synology users according to their forums. There are some community-based workarounds for Synology's SSH restriction, but these would require manual configuration/setup and should be performed at your own risk.

https://community.synology.com/enu/foru ... ort=oldest

https://blog.aaronlenoir.com/2018/05/06 ... h-ssh-key/

https://blog.laure.nz/2020/11/29/give-s ... ogy-users/

Note: Since we are using some extra Linux based commands besides rsync, this destination must have a "Real" operation system at the other end (Redhat, Centos, Debian etc). So a "NAS Backup box" with rsync enabled will not be supported.

For more details: https://docs.jetbackup.com/manual/whm/D ... ation.html

Please let us know if we can provide further assistance.

Best Regards

Trenton V
JetApps, LLC.
JetApps.com | JetBackup.com

Re: Synology via SSH: Rsync not installed on remote

Posted: December 10th, 2023, 2:41 am
by 50l3r
But my user "50l3r" its admin. is it possible with an admin user?

SFTP backup its very slow

Re: Synology via SSH: Rsync not installed on remote

Posted: December 12th, 2023, 2:06 am
by JetAppsKevin
Hello 50l3r,

Can you please check if you rsync is configured for the user on your destination?

https://kb.synology.com/en-nz/DSM/help/ ... ?version=6

Additionally as JetAppsTrenton mentioned previously,
Since we are using some extra Linux based commands besides rsync, this destination must have a "Real" operation system at the other end (Redhat, Centos, Debian etc). So a "NAS Backup box" with rsync enabled will not be supported.
Can you confirm that an OS is installed on the destination?

Thank you,

Re: Synology via SSH: Rsync not installed on remote

Posted: December 12th, 2023, 12:22 pm
by 50l3r
I have rsync configured directly on syno but i dont have VMs with linux on my synology

Image

Image

Image

Re: Synology via SSH: Rsync not installed on remote

Posted: December 13th, 2023, 3:44 am
by JetAppsKevin
Hello 50l3r,

To further clarify, if the SSH storage destination does not have an OS, we are not able to support it because JetBackup uses other Linux based commands along with rsync to transfer files.

We do have many other supported destinations available, and you can read more about them on our documentation.

https://docs.jetbackup.com/v5.3-BETA/ad ... ation.html

Best Regards,

Re: Synology via SSH: Rsync not installed on remote

Posted: December 13th, 2023, 7:43 pm
by 50l3r
Much thanks for your help :)