Backup Settings for SigNoz after AWS EC2 Restart

TLDR Milan lost settings after AWS restarted their EC2. Prashant suggested restoring from a backup of the `signoz.db` file.

Photo of Milan
Sat, 20 May 2023 06:21:34 UTC

Hi all, AWS restarted our EC2 (with our SigNoz instance) to do some updates, and we lost some of our settings (like dashboards and alerts). We have added them manually again, but I want to backup them and can’t find docs on this :disappointed: Can someone point me what is best option to backup our settings? (we installed SigNoz over docker) Thanks

Photo of Prashant
Sat, 20 May 2023 19:59:26 UTC

Hello Milan :wave: If you have backup of the previous SQLite database file `signoz.db` which could be found inside `clickhouse-setup/data/signoz` folder, you can copy it back there and restart `query-service` to get back old user creds, alerts, and dashboards.