What are people doing to backup their Grafana dashboards? I’ve seen online people saying to use the grafana api to export the dashboard and save it off somewhere. Is that was everyone is doing or is there direct integration with Git?
we became aware of this fine piece of software just the other day. It might help you along.
With kind regards,
I have been using the repo that you is suggesting, and had to rebuild an installation with the backups from it. It is a good backup solution and you can easily add the backups into a git repository if you wanted to as well. The backup bash script could do the add, commit and push at backup completion so just one command need be run
Thanks for the link. I opened three new issues, one of them with a patch attached.
You could, alternatively, use Wizzy - retrieving dashboards, datasources and organizations as JSON files in order to version control is one of the use-cases.
Wizzy works great and is much better structured - thanks!
so the idea is to introduce yet another point of failure to remedy possible point of failure? There should be much easier way to backup/restore -e.g git commit/push from the dashboard location
https://github.com/ysde/grafana-backup-tool has been revamped by Aaron Johnson through https://github.com/ysde/grafana-backup-tool/pull/65 to work without any bashisms. Now, the program features a
setup.py to be installed as a Python-only package.
As it is now available on PyPI at https://pypi.org/project/grafana-backup/, installation should be as simple as
pip install grafana-backup