I want to keep the new hasher kv store in sync amongst multiple computers. What are the downsides? From my reading, the issue will be with local remotes but for others (like remote crypts), it would be good to have them.
What is your rclone version (output from rclone version)
Also, just an aside, rclone makes it hard to find the caches. The noted place is right for linux only; not macOS (and presumably Windows). I just did a serve with vfs cache and -vv to find it
Latest version has introduced command config paths to reveal the local files/folders that rclone relies on.
Also rclone's common hash dir is now documented here, perhaps that also came with latest version - don't remember.
Do you mean documentation is wrong? Where? Edit: You probably mean the section at the end of the hasher docs? It does refer to "rclone cache directory", which is the one I linked to above, but I guess it would be better if it linked to it directly.
That's nice that you can set it. It does mean you have to be careful if serving a hasher remote with a custom --cache-dir which then negates the hash cache. Not the most common case but also reasonable to expect.
Yes, it was in the hasher. And it was always kind of hard to find for VFS caches (though I haven't looked with any updated 1.57 docs).
One note: The VFS has a DEBUG with the cache but the hasher doesn't print that
Any ideas on the original question? Can I copy the kv store between computers?
If two machines have the same os/arch as per rclone version, and base remotes have the same name, you can just transfer bolt files from the hasher cache dir.
Generally you can export cache to Sum file on one machine (it's gonna be fast thanks to cache): rclone hashsum sha1 my-hasher: --output-file my-sum.txt
Transfer it to the other machine and import: rclone backend import my-hasher: sha1 my-sum.txt
Thanks. I saw those instructions but didn't think about it for that. I will play with doing that. I don't really have a need but it seems like I may as well wrap all of my crypted backends in the hasher just so I have it. Certainly not urgent though.