Export all dashboards/datasources on FS/Git


I would like to do some backup automation of all dashboards and datasources in GIT.
Is there some way how to export all dashboards/datasources on FS/GIT?

Did you look at this? https://www.weave.works/blog/grafana-dashboards-as-code/

I’m currently using the web API to keep copies of the dashboards, and with some tweaking you can deploy them on a fresh install again. It’s mostly a backup and restore functionality.

While you can use github to compare versions of the JSON files, the way the editor produces the JSON files does not make it easy to compare two versions. If you’re just looking for version management, it would work.

Yep, I would like to have some version management of dashboards.

Thx for tip - I’ll check this URL. :]