ysde / grafana-backup-tool

A Python-based application to backup Grafana settings by using the Grafana API
MIT License
877 stars 277 forks source link

Add support for Dashboard versions #145

Closed fsperling closed 3 years ago

fsperling commented 3 years ago

Hi,

First of all thanks for the awesome tool!

I would also like to backup and restore the dashboard versions. https://grafana.com/docs/grafana/latest/http_api/dashboard_versions/ If there is interest in this feature I could try work on a PR for that.

Cheers, Felix

ysde commented 3 years ago

Hi @fsperling
Yeah sure, PRs are welcome :D

fsperling commented 3 years ago

I also wrote code to save dashboard versions. Its tricky/not possible to restore them with the Grafana API. Is part of PR https://github.com/ysde/grafana-backup-tool/pull/148