#restoring Z2M Backup in Homeassistant Green

1 messages · Page 1 of 1 (latest)

stuck ice
#

Hi, i switched from a trueNAS version of HA to the HA-Green. I made a backup from my Zigbee2MQTT, but i cant figure out how to restore the backup on the Green. Iam pretty new to the hole thing to i would really appreciate the help.
PS: I only want the Devices back, some of them are installed inside my walls and getting them back out to pair would be a pain.

vale talonBOT
#

Open your Home Assistant instance and show an overview of your backups

tired basin
#

Upload it here and do a partial restore.

stuck ice
#

Hi, thx for the help. Iam not trying to load a backup of homeassistant. I had Zigbee2MQTT running as a standalone service outside of HA. I did a backup of Z2B and now want to restore that inside of HA

tired basin
#

I see. I don't know the exact path at the top of my head but you should be able to upload the files into the zigbee2mqtt directory when the addon is stopped. You might have to start it first once so the path is created.
It's either in config or addon_configs.

stuck ice
#

And how do i upload Stuff there?

tired basin
stuck ice
#

Thx, ill look into that 🙂

stuck ice
tired basin
#

Yep. It's possible the addon config overrode some settings. Check they are the same.

stuck ice
#

I already tried replacing almost any combination of files :/ nothing seems to work

tired basin
#

:<

stuck ice
#

yeah i follwed that .. since its not working i guess i need to repair 😦

tired basin
#

I'd give it one more try. Stop the addon and overwrite file files. You can also check the logs or try to reconfigure via the UI.

stuck ice
#

I stoped the addon, overwritten the db and coordinator_backup. On restart everything still is offline. The files look fine, the settings seem the same (atleast all i can find in z2m) and the logs have no errors in them.

#

maybe the version jump is just to much ..

tired basin
#

I assume you had more than just these two files?

stuck ice
#

i do have config, coordiator, db and state. But state doesnt do much and just loading the config breaks on load, with something about the port. I tried putting as much of the info in the config into the new one, but that didnt help either.

tired basin
#

What's it say about the port?

stuck ice
#

I worked it out:
serial:
port: /dev/ttyUSB0
adapter: auto
I needed to delete the adapter and then it worked 🤩 Thank you so much for helping. You can belive how glad iam i dont have to open up all the walls again 😄

tired basin
#

You generally want to use a /dev/serial/by-id/... path here. Adapter is more strict/broken? now. Which coordinator do you have?

stuck ice
#

Iam unsing the ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus

tired basin
#

That should be zstack then.

stuck ice
#

Ok? So i need to switch the port to /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_.....
and the adapter to zstack?

tired basin
#

That should work, yep. The point of the by-id is that the number in /dev/USBx can change similar to /dev/sdX for disks. Not as much of a concern for a single serial device but good practice.

stuck ice
#

Ah ok, thx for the help again 🙂