Backup of files at remote sftp server

Hi. Restic does a good thing to backup my local files. However i have a need to backup the files at remote sftp server but restic cannot backup files from remote server. I try refering to rclone but rclone is not so efficient to do backup stuffs.

So I added the functionality to backup the files from sftp server in my forked repo of restic. It works well for me. Do you think the main repo of restic should add this functionality? If the answer is yes, i am glad to contribute my codes.

I think there are already two issues asking for this feature:


It sounds like an interesting feature to have, but it will probably take quite some time before we will be able to review it. Nevertheless, the code might be of use for someone and it’s much easier to discover it when there’s a PR.