-
-
Save msoedov/cbebd378a4444958c13c7f515a76eb3d to your computer and use it in GitHub Desktop.
Grafana Backup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASEURL=http://username:[email protected]:3000 | |
for dash in $(curl -s -k "${BASEURL}/api/search" | jq -r '.[].title'); do | |
curl -k "${BASEURL}/api/dashboards/db/${dash}" > "${dash}.json" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment