I wonder: is it possible to auto-mount on boot? I assume the auth key would need to be stored somewhere. This would make scheduled backups a bit more robust, not having to worry about mounting after every reboot. Not a big priority, but if you have any ideas I’d love to know!
sftp/sshfs is way too slow for big backups. Getting a file list over sshfs is multiple orders of magnitude slower. We are talking minutes instead of seconds. So even if no files have been changed, it needs a long time to just detect if anything is changed.
In the context of @rawtaz 's suggestion using macFUSE to mount locally, would these concerns apply? I’ll be backing up > 1 TB that doesn’t change very often; incremental adds, and moving files to different folders.
Try it and see That’s the only way to know how it works for your particular case.
Note that there is a --no-scan option (“do not run scanner to estimate size of backup”) you can give to restic backup which will take away some of the I/O for you. Just make sure you run restic version 0.15.1 or higher.
Can’t you just run restic on the SFTP server instead?
Whoa, I appreciate your perspective. Until this point, I’ve only used AFS and SMB. SMB was terrible, but AFS has been acceptable. Since learning about SSHFS I’ve been wondering if it would be better than AFS for regular mounting of my Synology NAS.
Would you mind expanding on your experience with SSH? Are you mounting with SSHFS?
Eager to check out that docker container. Very, very kind of you to share. Thank you.
EDIT: do I even need to use SSHFS? Can I just use AFP to mount the Synology NAS to my laptop, and point it to the local /Volumes/whatever where AFP has mounted it? Is there any reason at all to use SSHFS?