… and the irony is, we need snapshots for when our cards die.
https://github.com/home-assistant/supervisor/issues/new/choose - directs to here
The basic idea is to stream the snapshot data from the home assistant supervisor into an addon, that would then implement whatever api this remote storage/cloud/file locker thingie provides.
… and all this without having to write new local snapshot data onto the sd card, … which is both a slow and wasteful operation. Today, to make e.g. a 1GiB snapshot somewhere, you need to write 2GiB of data onto a card – and eventually this snapshot is just deleted, a whole lot of work for nothing.
I’m positive that a supervisor change would be needed, as well as some kind of change to core probably, and the addons would need to support reading this stream eventually.
I’ll start with the change, and see how far I can get and if I can get a proof of concept working over the next couple days while I’m on vacation: Home Assistant snapshots without temporary files · Issue #421 · sabeechen/hassio-google-drive-backup · GitHub
Also, I still have some open questions and I’ll definitely need some guidance along the way.