thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.74k stars 844 forks source link

[HELP] Upgrade process for .deb installation without losing any config? #1146

Open alexcorvis84 opened 1 year ago

alexcorvis84 commented 1 year ago

What is the best procedure to update a .deb version installed?

Download the latest .deb package and install via sudo apt install ./python3-thingsboard-gateway.deb -y ?

I have a device with Thingsboard IoT Gateway version [3.0.1] and would like to update to the latest without losing any config or connectors configuration.

Thanks in advance.

keestux commented 1 year ago

I found out the hard way. On one server I completely lost the configuration. On another server I was lucky to have a backup of rest.json and tb_gateway.yaml.