ysde / grafana-backup-tool

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

restore backup dosent work for organisation dashboards #153

Open milaad1 opened 3 years ago

milaad1 commented 3 years ago

hi team i used backup from my grafana as a job in k8s cluster and saved my backup on s3 , today i wants to restore my backup , every things is restored but users and password dosent work.also (except main.org) another dashboards in other organisation is disappeared . this tool cant backup dashboard in organisations?

milaad1 commented 3 years ago

any help?

acjohnson commented 3 years ago

Currently this tool only backs up dashboards saved under the default org orgId=1. PRs welcome I don't think it would be that much to parameterize a few functions to add ?orgId=<num>.

A feature to automatically backup all orgs would be nice as well. Thanks!

milaad1 commented 3 years ago

yes it will be good with this feature,but we lost all dashboards under our organisations? this is very bad issue . please submit this in readme file until feature released.Thanks all :(

acjohnson commented 3 years ago

That is very unfortunate hopefully you will find another way to recover them... hopefully this feature will get added in the mean time a doc update would be appropriate I agree.

acjohnson commented 3 years ago

Also we can leave this issue open until the issue is fully resolved as this is a community project it is a good thing to be made aware of for now.

acjohnson commented 3 years ago

https://github.com/ysde/grafana-backup-tool/blob/master/README.md?plain=1#L27