backup of grafana dashboards
The nodejs package "wizzy" uses the grafana api to extract the dashboards and other data.
aerickson found this version was needed to get correct folders: #3
npm install -g github:johnsudaar/wizzy#971a8a1186d9b3036c87f96a339c4d9680d5b866
create conf/wizzy.conf with auth:
wizzy set grafana url https://grafana.fqdn
wizzy set grafana username GRAFANA_USERNAME
wizzy set grafana password GRAFANA_PASSWORD
rm -rf dashboards #remove to not duplicate renamed or moved
wizzy import dashboards
git add dashboards
git commit
- https://github.com/ysde/grafana-backup-tool
- Manually export and commit the json for dashboards
- https://github.com/esnet/gdg
- recommended by wizzy authors