1

Scenario:

  • a remote Linux webserver (Ubuntu 22.04)
  • a local Synology DS220+ with DSM 7.1

I would like to use the Synology to access the remote server via SSH to rsync the server data locally. The Synology would then create a local copy of the remote server data. Please note: the Synology would be the SSH CLIENT here, not the other way around.

The procedure needs to be scheduled, to run it automatically.

I haven't tried anything yet because I don't even know where to start. How should I proceed?

2 Answers 2

3

I contacted Synology Support about this. They pointed me to "Active Backup for Business", which works exactly as I needed

enter image description here

0

I don't believe that it is set up to allow that to happen. The Synology reference for how to do rsync backups is here.

There is no suggestion of any possibility of doing the backup in the reverse direction, even though rsync allows that mode.

However, if you can log in as root on the Synology device with a proper bash shell (verify whether the embedded OS used by the device is linux), and if the device allows "at" jobs or "cron" jobs to be scheduled, then you can write a script to perform that.

If, however, you are looking for a script that does backups using rsync (in general), then let me know and I can add 2 very different scripts, from which you can distill any functions/processes you would prefer to use.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .