bupstash icon indicating copy to clipboard operation
bupstash copied to clipboard

Investigate and improve performance and lock safety over sshfs

Open andrewchambers opened this issue 3 years ago • 2 comments

sftp does support posix locks so it might just be possible to run bupstash directly over sftp, we just need to investigate the performance profile and see if we can improve a few things.

If there are any special options required, such as disabling caches, we should write a guide for the user to explain them.

andrewchambers avatar Mar 27 '22 00:03 andrewchambers

Due to the per-process nature of posix locks, it is not quite straight forward - but might be possible.

andrewchambers avatar Mar 27 '22 00:03 andrewchambers

Having SFTP support would be great. I'm planing on setting up a disk attached to a MIPS-based router with OpenWrt as a backup target (it's the only always-on device in my flat). While I did actually manage to build bupstash for that target I'm not sure how well it will run (~5 MiB binary on a system with 128 MiB flash & RAM) and even if it does, running a SFTP server on it instead sounds much more appealing.

wagnerflo avatar Aug 10 '22 10:08 wagnerflo