I can’t find how to escape special characters in the sftp path of the restic-cli, does anyone know?
I’m backing up from a Linux machine to a Windows machine running microsoft provided OpenSSH, with an external drive (letter M:) connected to that Windows machine.
SSH (including authorized_keys) works fine, but restic’s cli seems to choke on the colon after M.
restic -r sftp:backup-server:/M:/restic_server_pc
It does seem to be a valid path in FileZilla as well as sftp so I think I’m not breaking any conventions here…
sftp> cd / sftp> ls C: M: sftp> cd M: sftp> ls $RECYCLE.BIN System Volume Information restic_server_pc sftp>
Really appreciate any and all feedback!