Repository navigation
Best way to backup and restore SigNoz (Docker setup with ClickHouse + Zookeeper)? #10676
PrINcE-Adri-IT
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I’m currently running SigNoz via Docker Compose and want to set up a reliable backup + restore strategy before moving things or risking data loss.
My setup includes:
signoz
signoz-otel-collector
clickhouse
zookeeper
Everything is running in containers, and I understand that ClickHouse stores most of the critical data, so I want to make sure backups are consistent and restorable.
What I’m trying to achieve
Full backup of SigNoz (configs + data)
Ability to restore on a new server (possibly different OS)
Avoid data corruption (especially ClickHouse)
My concerns
Is backing up /var/lib/docker/volumes enough?
Do I need to stop containers before taking backups?
Should I use ClickHouse native BACKUP instead of file-level copy?
How do I properly handle Zookeeper data?
Best way to automate this (cron + restic maybe?)
Current idea (not sure if correct)
Run ClickHouse backup command
Backup Docker volumes separately
Backup docker-compose + config files
Store everything using something like Restic
What I’m looking for
Proven backup + restore workflow for SigNoz
Any scripts or tools you recommend
Things to avoid (common mistakes)
Would really appreciate any guidance from people running SigNoz in production or homelab setups 🙏
Thanks!
All reactions