Open zenhack opened 3 years ago
Since it was a popular ask in #14, can I ask roughly where this sits today?
The current state is, I have a cli based server & client that can store & retrieve a directory tree, but:
Okay, so probably still a bit too early to be one of my short-term deliverables. A backup product that eats your data is probably problematic.
I am thinking maybe the next time around when assembling projects, we may be able to set a goal to release this as an app for general backup use, and then the next milestone after that would be the integration for Sandstorm use.
Re: backups, the way I've been thinking of it the Sandstorm integration is possibly separable; I've been thinking of a workflow like this:
...you could also do default policies for grains you haven't set up explicitly. You'd likely want to add some checks to make sure you're not backing a grain up into itself.
So ocap-md could satisfy this interface, but it would also allow us to just add a trivial thing to davros or such that just stores the zip file in a directory.
That all sounds excellent. I think we probably would also want to be able to set that default at a server-wide level, in addition to a user-wide level, and probably put it into the setup flow eventually.
Presumably if our goal is to create an easy to use cloud platform that makes good decisions, it should probably set up at least minimally sufficient backups by default.
Some progress on this one! I ended up re-writing the little bit that I had in Go, rather than continue to fight the perf issues I was seeing in Haskell. I kinda knew using Haskell for this might have been a mistake going in.
Anyway, relative to the stated functionality from before:
make dev
(it uses raw spk). The UI just shows the text "Hello, World", but you can generate a webkey and interact with the grain using the cli.This is very nearly at the MVP I described, but before anyone else tries to use this:
https://github.com/zenhack/ocap-merkledag is the foundation of my plans for Sandstorm's backup system, but in the shorter term it even a less integrated version as an app would be useful as a data-dumptruck for my own backups. Soonish I hope to get an MVP of this out. This will consist of a Sandstorm app with basically no UI other than an offer iframe, and a command-line tool that you can use to shove stuff into it. From there I'll build a UI and such, but this issue is for the MVP.