-
Notifications
You must be signed in to change notification settings - Fork 507
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
deCONZ backup/restore issues #371
Comments
Restarted deCONZ on my production Raspberry. As expected, the GUI is populated straight away, with the exception of the lights that I had power-cycled to connect to the restored backup on the test Raspberry. The NWK Update ID is 0, as in the backup. The missing lights won't come back after a power-cycle. Touchlink confirms they're on the right PANID, but on channel 11 instead of 25. My product network is on 25, my test network on 11. Fingers crossed, in the deCONZ GUI updated NWK Update ID to 6, left/joined the network and power cycled the missing lights. Four out of six appear. Another power cycle and the remaining two are found as well. |
OK take 2. To be sure, new backup (this time from the deCONZ GUI), and new restore (also from the deCONZ GUI). The GUI must do something more than POST |
@ebaauw ... not sure if this is related but do you know if you can move the RaspBee between Pi devices easily? I’m guessing that some of the issues you’ve encountered wouldn’t happen since the RaspBee would be the same between devices. |
Yes, of course, you can move the RaspBee and the µSD card to another Raspberry and everything runs smoothly. That won't help you if the RaspBee breaks, though. |
@ebaauw, yes agreed. Just wanted to make sure I understood what you were saying about backup/restore. |
Just my 2 cents. Used the Backup funktcionality today to move deconz to a pi running my fhem instance (used 2 before). Old pi had 2.04.97. New one directly installed with 2.05.12. Backuped via pwa app and restored to the new one via pwa as well. Worked great. Only thing which i lost was the cooenction between lights and groups. For me not a big problem because I only have 1 light. All sensors and switches work great after the move. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I tried today and failed... I wanted to move from deConz 2.0.50 on raspbian jessie to a freshly installed raspbian light stretch running deConz 2.0.52. I had the following results:
I looked at the logs but could not find any errors or warnings. Any ideas where I could look? |
Can you please create a second backup with the current installation and send both, the original and the new backup, to mpi@dresden-elektronik.de I can check if something is wrong with configuration. Meanwhile please don't change or reset anything. |
Also have you configured the serial interface on the new system as described here: https://github.com/dresden-elektronik/deconz-rest-plugin#software-requirements Otherwise it won't work. |
Will do as soon as I get home. Just one question: I configured the serial interface, but wondered whether it is required since I am using ConBee and not RaspBee (so USB not gpio). The same goes for disabling Bluetooth. |
@manup Interestingly after using the latest version it works. Thanks! (If you want, I still have the two backup files that I could send over) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
After several notes to self, I finally came around doing a backup/restore test of deCONZ, see #247 (comment):
After over half an hour no change. I restored the backup from the test RaspBee. This seemed to go without issues, the lights previously connected to test were found without a problem and are reachable. The test RaspBee again has its original MAC address. deCONZ did crash (deliberately?):
There seems something broken in the restore logic. After untar-ing the backup file, before the crash, deCONZ saves it's database and layout when resetting or leaving/joining the network. This causes the restored database to contain records from the running database, before restore.
The text was updated successfully, but these errors were encountered: