Actually I’m running on oh 4.2 . In the release notes I read the hints on changing to new Linux version, to 64 bit and the notes on oh5.
My question now.
If I create a Backup of my configuration with openhabian-cli are all installed add ons also backed up?
I have installed the zigbee2mqtt from the cli. Is this and the configuration contained in the backup?
Or do I need to install it manually after setup a fresh oh4.3 before reimport the cli backup?
Not usually. But the fact that the add-ons were installed is backed up. When you restore the backup OH will reinstall the add-ons.
If you take a full backup which includes the cache and temp folders but that’s not the default. Definitely avoid restoring such a backup to anything but exactly the same version of OH it came from.
Anytime outside of OH itself is your responsibility to back up. openHABian had some tools for whole system backup but you will need to go to the docs for the third party service in question to see how to backup and restore those individually.
As far as OH is concerned it has nothing to do with managing that service. You need to install, backup, and restore it in your own. All OH knows is there are some MQTT Things configured, nothing more. But that means the order doesn’t really matter.
The backup is not included in the openhabian backup. That would surely make sense but I didn’t notice much demand for it.
zigbee2mqtt has it’s own backup entry under settings - tools. But it just gives you the folder under /opt/zigbee2mqtt as a zip-file. You can do that manually too.
Ok, thanks for the quick answer.
So it is as I understood it. The clear way to a oh5 ready system is to upgrade 4.2 to 4.3, create then an backup. Make a fresh install on oh4.3 with the correct 64 bit and bookworm and then reimport the backup
openhab-cli is part of openHAB, not openHABian. It doesn’t make sense for it to break up anything but openHAB. The same goes for Mosquito, InfluxDB, Node Red, and the host of other third party services openHAB is commonly used with.
openHABian on-the-other-hand is a whole OS management system and it does include tools to backup the while machine and some of the individual third party services it can install and configure. So it does make sense for openHABian to do this, which apparently it does. It does not make sense for openhab-cli to do it though.
Yes I know. But this kind of work l, so reinstall something and check if everything is working again, and then on a productive system (my home ), I like to do on non busy times. Like now, during vacation and bad weather outside. Thanks for your replies