grafana-tools / grafana-backup

[ON HOLD] CLI tool for backup/restore Grafana dashboards and datasources.
GNU General Public License v3.0
28 stars 3 forks source link

Restore example #15

Closed cabrinoob closed 4 years ago

cabrinoob commented 4 years ago

Hi, I'am trying to use grafana-backup to backup and restore my grafana dashboards.

The backup works fine but I don't know how tu use the restore method.

I want to use it from docker.

For the backup I'am using this :

docker run --rm --name grafana-backup-tool \
   -e GRAFANA_TOKEN={YOUR_GRAFANA_TOKEN} \
   -e GRAFANA_URL={YOUR_GRAFANA_URL} \
   -v {YOUR_BACKUP_FOLDER_ON_THE_HOST}:/opt/grafana-backup-tool/_OUTPUT_  \
   ysde/docker-grafana-backup-tool

But for the restore I don't know what to do. When I look inside the Dockerfile I see that there is an ENTRYPOINT assigned to backup_grafana.sh.

thank you for your help

grafov commented 4 years ago

The issue related to Python utility with the same name.

cabrinoob commented 4 years ago

Yes sorry, I realized it too late and I was not able to delete this inapropriate issue, so I closed it. Sorry again

grafov commented 4 years ago

No problem!