kbfs icon indicating copy to clipboard operation
kbfs copied to clipboard

Offline mode for kbfs

Open rcorre opened this issue 7 years ago • 7 comments

It would be really great if my kbfs files are accessible even when I'm offline, and start to sync whenever I'm online. Currently they are completely inaccessible offline.

https://github.com/keybase/kbfs/issues/943#issuecomment-353693076 claims that offline mode is "on the roadmap", but I couldn't find this roadmap or any issue specifically about an offline mode that I could track.

rcorre avatar May 24 '18 03:05 rcorre

Thanks for speaking up about your needs! Roadmap as a doc or GH milestone doesn’t exist yet. What we meant in that comment was we plan to implement it at some point. We don’t have an ETA yet, but it shouldn’t be too long. Hang in there!

songgao avatar May 24 '18 15:05 songgao

Somewhat related:

When not connected to the internet, using cd /keybase/team takes a long time (up to a few seconds). Then, ls results in ls: reading directory '.': Input/output error. This error message is somewhat cryptic and it would be better to warn the user that a connection with Keybase is required to read the directory.

This is on macOS 10.13.4 (17E202), with ls (GNU coreutils) 8.29 and keybase version 2.0.0-20180604163023+f899a761a7.

erikhuizinga avatar Jun 18 '18 08:06 erikhuizinga

While waiting for this feature to be implemented in kbfs, does anyone have experience with using a caching file system (such as catfs) on top of kbfs?

lorenzleutgeb avatar Sep 26 '18 04:09 lorenzleutgeb

@lorenzleutgeb - I've been trying a different approach. unison works, but when I combine it with incron, I'm having some trouble.

DiagonalArg avatar Nov 24 '18 13:11 DiagonalArg

@lorenzleutgeb - I've tried other approaches, but the only viable one I can see now is running keybase as root, which I'm still hammering on.

(Note that the catfs that you mentioned above is alpha software. Better to use inotify or incon to check for filesystem events, then sync with unison or maybe rsync.)

DiagonalArg avatar Nov 27 '18 22:11 DiagonalArg

Keybase team, while considering implementation, it would be awesome to be able to select which files are permanently cached to a specific machine, much like onedrive and google drive allow. This way we don't have to use all our space to sync everything if we don't want to.

damccull avatar Dec 24 '18 05:12 damccull

Thanks! Already in review: keybase/client#15044 !

strib avatar Dec 24 '18 06:12 strib