is there any good way to backup dashboards and users?
t
is there any good way to backup dashboards and users?
v
You just need to backup sqlite db. @Prashant Shahi can share more details
t
@Vishal Sharma The one in the query-service pod? Path: /var/lib/signoz/signoz.db
n
Yes @Tinyhorns
p
The one in the query-service pod?
Path: /var/lib/signoz/signoz.db
yes, you can take backup of the SQLite DB file using
sqlite3 <file-name> .dump
t
@Prashant Shahi seems like sqlite3 is not bundled in your image.
Copy code
/ # find / -name sqlite3
/ #
This is the signoz-query-service pod But I guess I can mount the pvc in another pod or attach a sidecar to it and do the dump.
or I'll just let velero try and do a backup of the pvc
p
You can just copy the file outside the container and run the dump locally.
t
That does not sounds very enterprise-ish 😏
p
If you really want, you can go with velero to take backup of the PVC. But note that, it's just a single DB file for SQLite.
t
Feature request, downloadable backup from the UI 🙂
p
That's a fair ask.
Can you please create the feature request in the main repo? https://github.com/SigNoz/signoz/issues
t
Sir yes Sir! 🙂
There you go.
p
Thank you 🙂
t
no no, thank you for an awesome product!
137 Views