Cloud Sync Tasks: Allow additional command line parameters for rclone

Problem/Justification
SFTP Cloud Sync Tasks to a Synology NAS is currently not possible due to an inconvenient implementation of Synology’s SFTP Server. The SFTP server strips the first part of the path (e.g. /volume1/path/to/file is only /path/to/file on SFTP. This mismatch in path, leads to failures when trying to calculate hashes during the sync.
rclone has an option to work around this, the parameter --sftp-path-override can be used to correct paths used for hashing etc.

Currently there is no way to pass additional options for the rclone execution during cloud sync tasks.

Impact
There might be only a small fraction of users impacted and benefit from a solution. But a more open implementation, allowing to pass any option might also solve other corner cases of rclone use with Could Sync Tasks.

User Story
Provide a string input field like the pre-script box in the Edit Cloud Sync Task screen. The string entered should then be used as additional parameter to the rclone call.

2 Likes

I am having the same issue and it’s quite frustrating. Used SFTP in order to migrate from CORE to SCALE and the SFTP backup task works fine on CORE 13.0-U6.8, but not on SCALE 25.04.1. I’d like to avoid any fiddling on the synology device, since it’s not mine.

My workaround is to have a CORE server syncing to the synology NAS and the SCALE server is instead syncing to the CORE server locally. That seems slightly wasteful though.