I don’t really care what Persistence store I use, I’ve seen strong recommendations in the forums to use mapDB over Influx and MariaDB (I’m using JDBC Postgres for all my other persistent storage). Here is my mapDB .persist:
Strategies {
default = everyChange
}
Items {
// persist items on every change and every minute
gPersist* : strategy = everyChange, everyMinute, restoreOnStartup
}
Use code fences instead of quotes when posting code to the forum.
```
code goes here
```
everyMinute is not needed for anything except rrd4j, unless you have a specific reason to save redundant data to the database (maybe for charting). I can’t think of a single reason to save everyMinute to MapDB since it only saves the most recent value. It just renders that data unusable to, for example, determine when the Item changed to it’s current state.
Not really because you don’t actually say what’s specifically not working? The obvious thing to check is that you’ve installed the add-on.