My Linux server that was running openhab2 died - I am able to mount the old disk on the new machine, and using /etc/default/openhab2 I was able to set the file location prefixes and create a backup zip file (using /usr/share/openhab2/runtime/bin/backup) of my old openhab2 environment.
It was unclear if I should restore from the “standard” or “–full” backups, but I restored from the standard.
I then restored the zip file to my new server running openhab 3.1 and started the openhab system. The new system is essentially empty as far as things and items are concerned. Some rules came in, some binding came in, but no things or items.
I have no idea where my nicely drawn habpanel house map might come up.
I added the zwave controller as a thing (from the “+” queue), and then all of the other nodes showed up as things to be added, but without any of the names from the old system.
I can see that there are json files (in /var/lib/openhab/jsondb/backup such as: 1609351090984–org.eclipse.smarthome.core.thing.link.ItemChannelLink.json) that seem to contain the information I want - for instance the knowledge that node003 is the Foyer Light Switch, but I don’t see how to get the system to bring these things and items and all of their linkages back in. Is it possible? I fear that if I can’t really restore all of the things and items from backup, I will be chasing a bunch of other syntax bits through every part of the system.
Thanks in advance!