Date and string are not restored after openhb startup

hi guys, i have an issue, what i notice until now that the date and string items are not restored, i installed RRD4j, below are samples for the items which are not restored and persistence config…

My Items:
String ALARM1_DEVICE              "Device"
String ALARM1_COMMAND             "Command"
Contact  LivingRoom_Window        "Window [%s]"                                                <window>        (LivingRoom, gWindow)                                               {channel="mihome:sensor_magnet:158d000225417a:isOpen"}
DateTime Window_LastOpened        "Window Last Opened [%1$td/%1$tm/%1$tY %1$tI:%1$tM %1$Tp]"   <time>          (LivingRoom)                                                        {channel="mihome:sensor_magnet:158d000225417a:lastOpened"}
Strategies {
  default = everyUpdate
}

Items {
  * : strategy = everyChange, restoreOnStartup
}

Strings items are selections…

can u plz advise whats the issue…

thanks…

As I know, in rrd4j only numbes can be stored.

For restore on startup I use mapdb. For graphing I use rrd4j, for long time monitoring and accurate (not commulated) values I use jdbc.

please read the docs:
https://docs.openhab.org/addons/persistence/rrd4j/readme.html

NOTE: rrd4j is for storing numerical data only. Attempting to use rrd4j to store complex datatypes (eg. for restore-on-startup) will not work.

NOTE: rrd4j is for storing numerical data only.
https://docs.openhab.org/addons/persistence/rrd4j/readme.html

so, which presistence i need to use to store strings, dates and other items states… i only want to restore my items states on startup, no complication…

For that I use MapDB.

this one is also in the docs:
https://docs.openhab.org/addons/persistence.html

If you just want to restoreonstartup - use mapdb:
https://docs.openhab.org/addons/persistence/mapdb/readme.html

thanks for all… let me have a look