I’ve seen quite some useful topics regarding persistent storage, but I have a particular question reagarding persistent storage in combination with an RPi2 + SD card.
Knowing that an SD card doesn’t have an “infinite” life and reading frequently that the SD card on a RPi gets corrupted after a (long) time, I’m wondering what’s the best approach to simply store the state of switch items in openHAB and restore them on startup.
I’ve seen that in this case
mapdb would be a good candidate, but I don’t know how frequently
mapdb writes to the SD card and if that would destroy the card in the (middle) long term.
Suggestions on what DB mechanism to use in such (simple, I guess) set up, taking in to account the “weakness” of the SD card lifetime?