Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recover and repair from Backup #2631

Closed
ayushjain4484 opened this issue Dec 29, 2019 · 4 comments
Closed

Recover and repair from Backup #2631

ayushjain4484 opened this issue Dec 29, 2019 · 4 comments

Comments

@ayushjain4484
Copy link

HI,

I am running zigbee2mqtt on my raspberry pi 3 B+,
I recently had issue with with rasbian OS.
I reinstall Os on New card and then installed zigbee2mqtt, previously working setup is with my on old card.
just wanted to know is there any way i can recreate my previous network without repairing all devices again as size of my network was very large and are all located in remote locations which are hard to get access to repair.

Thanks in advance.

@Kryzek
Copy link
Contributor

Kryzek commented Dec 29, 2019

Copy zigbee2mqtt/data -directory (and it's contents) from old SD-card to new card and your configuration (MQTT settings, network keys etc) and devices database should be working after you start Z2M.

@ayushjain4484
Copy link
Author

Thanks alot brother, its working now :)

I tried coping all file to data dir (configuration.yaml database.db log state.json), had permission issue but after granting permissions to these file its worked.

@Koenkk Koenkk closed this as completed Jan 1, 2020
@simonwood0609
Copy link

I'm having trouble restoring a backup using this method and I'm wondering if the permissions issue you described could be the cause.

I've restored the database.db and my configuration.yaml has the same network key, on boot of zigbee2mqtt I can see the devices added, however when I try to toggle one of the light switches I get error 'no network route' (205)

:(

@LuisCanossa
Copy link

I'm having trouble restoring a backup using this method and I'm wondering if the permissions issue you described could be the cause.

I've restored the database.db and my configuration.yaml has the same network key, on boot of zigbee2mqtt I can see the devices added, however when I try to toggle one of the light switches I get error 'no network route' (205)

:(

I have the same problem, do you have a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants