Files
grafana-dashb-save/README.md
T
2026-05-21 14:38:04 +02:00

874 B

Grafana Resources Backup

Collection of scripts and main storage for all the JSON resources from our Grafana instance.

Scripts are run on a schedule and any updates to the Grafana resourcesa are saved locally and commited automatically.

Run Manully

Call the ./grafana-save.sh script, this will call all other scripts and update/add the Grafana resource JSON files. Remember you need to set the API_TOKEN=... environment variable beforehand!

You can of course call the individual scripts directly.

API Token

Since Grafana V11/V12 there is only way to get a API token and that is to create a "Service Account". Within the service account there is an option to generate token(s), this helps to better bind tokens to accounts which themselves have specific roles (and in the backend RBAC defined permissions and scopes).