Mapdb doesn't restoreOnStartup

Edit /etc/systemd/system/openhab2.service.d/override.conf to look like below and run systemctl daemon-reload, then retry what you did with openhab-cli, including oh2 stop/start

[Unit]
Description=openHAB2 instance, reachable at http://%H:8080
Wants=zram-config.service
Wants=frontail.service

[Service]
ExecStartPre=-/bin/bash -c '/usr/bin/find ${OPENHAB_CONF} -name "*.rules" -exec /usr/bin/rename.ul .rules .x {} \\;'
ExecStartPost=-/bin/sleep 120
ExecStartPost=-/bin/bash -c '/usr/bin/find ${OPENHAB_CONF} -name "*.x" -exec /usr/bin/rename.ul .x .rules {} \\;'
TimeoutStartSec=240