borgcube icon indicating copy to clipboard operation
borgcube copied to clipboard

Restore concept

Open enkore opened this issue 7 years ago • 1 comments

Kinda pointless to not have this.

I'm thinking -- restore via extract as a job. Basically runs "borg extract" with access to exactly one archive and without leaking our keys (as usual) on a client (or arbitrary host). Perhaps support short-lived SSH keys for this (deleted from the server after the job completes).

enkore avatar Oct 30 '16 14:10 enkore

For interactive browsing a more efficient access than tape-like is needed, which is why I started to work on metadata indexing by storing offsets into msgpack streams in a trie (HAT). This should work reasonably well but requires a pass over the stream to generate the trie. Some tests have shown that these compress rather well, so it might not be an issue to generate these by default when syncing the server cache (bc.job.backup); but also on-demand in the interface.

This also somewhat depends on the whole repository arbiter idea (#14).

enkore avatar Jan 12 '17 02:01 enkore