ysde / grafana-backup-tool

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

use this tool backup grafana error #265

Open askgh opened 3 months ago

askgh commented 3 months ago

grafana-backup save

[Pre-Check] grafana health check: http://127.0.0.1:3000/api/health [DEBUG] resp status: 200 [DEBUG] resp body: {'commit': 'NA', 'database': 'ok', 'version': '9.2.10'}

[Pre-Check] grafana auth check: http://127.0.0.1:3000/api/auth/keys [DEBUG] resp status: 403 [DEBUG] resp body: {'accessErrorId': '', 'message': "You'll need additional permissions to perform this action. Permissions needed: apikeys:read", 'title': 'Access denied'}

martintamke commented 3 months ago

same problem here. @askgh : did you use the Grafana Token gnerated via the Grafan service accout or the "old" API key option?