Skip to content

Instantly share code, notes, and snippets.

@maurorappa
Created October 9, 2024 06:56
Show Gist options
  • Save maurorappa/f70fe56d5937188c165ff5c4626eb2ff to your computer and use it in GitHub Desktop.
Save maurorappa/f70fe56d5937188c165ff5c4626eb2ff to your computer and use it in GitHub Desktop.
exploring grafana db
#sqlite3 /var/lib/grafana/grafana.db
SQLite version 3.7.17
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .output dump.sql
sqlite> .dump dashboard
sqlite> .exit
# tail dump.sql
INSERT INTO "dashboard" .....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment