Skip to content

Commit a55b2e5

Browse files
authored
explain how to restore data from a standalone z2m installation (#497)
1 parent 99ffb34 commit a55b2e5

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@
5353

5454
For more information see [the documentation](https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/blob/master/zigbee2mqtt/DOCS.md).
5555

56+
## Restoring data from a standalone installation
57+
58+
1. Ensure that both environments are running the same version
59+
1. Backup your standalone environment `data` folder (possibly leaving out the `logs/` folder)
60+
1. Configure your serial port using the HA addon configuration UI
61+
1. Restore your `data` folder contents into `/usr/share/hassio/homeassistant/zigbee2mqtt`
62+
1. Edit the `/usr/share/hassio/homeassistant/zigbee2mqtt/configuration.yaml` file:
63+
- Ensure that the serial port section matches the one configured with the UI
64+
- Remove any irrelevant sections from the config (e.g. `mqtt`, `advanced/log_syslog`, `frontend`)
65+
1. Start the add-on
66+
5667
## Changelog
5768
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
5869

0 commit comments

Comments
 (0)