Export/Import only Paper UI created Things/Settings

  • Platform information:

    • OS: Ubuntu 18.04
    • openHAB version: 2.4
  • Issue of the topic: I want to export only my Things created with PaperUI. I have not found any way to export or import only certain settings. I would appreciate any assistance to figure out how to accomplish this. Does it all need to be manually done from /var/lib/openhab2/jsondb or are there some CLI commands that will do it?

What do you mean by “export”?

Backup and restore them to another server.

Have a look at this:

Also the full config can be saved and restored using the console

openhab-cli backup/restore are the best way to migrate a configuration from one oh instance to another. It captures everything you need.

However, if you want to selectively pick and choose, your best bet is to either edit the backed up files manually or use the rest API docs to export/import.

Thank you for pointing me in the right direction.