Skip to content

use this tool backup grafana error #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
askgh opened this issue Mar 8, 2024 · 2 comments
Open

use this tool backup grafana error #265

askgh opened this issue Mar 8, 2024 · 2 comments

Comments

@askgh
Copy link

askgh commented Mar 8, 2024

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
Copy link

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

@DuraCHYo
Copy link

DuraCHYo commented Feb 1, 2025

@askgh
To resolve this you need to:

  1. Administration -> Users and access -> Service Account -> add Service Account
  2. Name it and assign "Admin" role to it
  3. Then click "Add service account token"
  4. Choose expiration on your dependences
  5. Copy and save token in safe place
  6. Paste him to connection config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants