You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bash scripts to export and import all dashboards JSON files from Grafana
Requirements MacOS
brew
gnu-sed
jq
curl
grafana api token
Requirements Linux
jq
sed
curl
grafana api token
Backup usage
backup_dash_linux.sh [-p PATH] [-t TARGET_HOST] [-k API_KEY]
Script to backup dashboards from Grafana
-t Required. The full URL of the target host
-k Required. The API key to use on the target host
-p Required. Root path for JSON exports of the dashboards
-h Display this help and exit
Import usage
import_dash.sh [-p PATH] [-t TARGET_HOST] [-k API_KEY]
Script to import dashboards into Grafana
-t Required. The full URL of the target host
-k Required. The API key to use on the target host
-p Required. Root path containing JSON exports of the dashboards you want imported.
-h Display this help and exit.