Pioreactor / pioreactor

Hardware and software for accessible, extensible, and scalable bioreactors. Built on Raspberry Pi.
https://pioreactor.com
MIT License
94 stars 9 forks source link

Continuously backup the database instead of batch backups #270

Open CamDavidsonPilon opened 2 years ago

CamDavidsonPilon commented 2 years ago

Consider something like litestream

Pros:

Cons:

CamDavidsonPilon commented 2 years ago

One problem is that I don't know the hostname of a worker in the cluster apriori to setting up litestream. Also I can't gauruntee it's always available and online.

This could be solved by specifying it in the config.ini - maybe this is a plugin and not a builtin feature.


Alternatively, litestream could backup cont. locally to ~/.pioreactor/storage, and every N days, bulk back up to other machines.