I want to back up some Windows machines to my QNAP NAS using Restic.
As far as I understood, SMB isn’t supported (unless I map the drive, which I don’t want to do due to the risk of Ransomware).
I have set up SFTP on my NAS instead - but where would I place the private key or password?
I would be using Backrest, Resticprofile or Restic Backup GX, but I guess that shouldn’t matter as they are all just wrappers around Restic.
I didn’t look too far into the documentation, but it seems the config file location should be: %userprofile%\.ssh\config, which seems to be the equivalent to ~/.ssh/config on linux.
I confirm that SFTP repos now work “natively” in Restic. No more need for things such as restic -o sftp.command="plink .... I just had this small issue w/ hmac.
Thanks a lot for the tip! W/o it, I would still be struggling w/ the old method. I’ll update/simplify my update scripts now.