ysde / grafana-backup-tool

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

Using the latest version of grafana 9.5.3, when backing up through the service account, it can be successfully backed up, but the package is not compressed after the backup #219

Closed ilanni2460 closed 1 year ago

ilanni2460 commented 1 year ago

Using the latest version of grafana 9.5.3, when backing up through the service account, it can be successfully backed up, but the package is not compressed after the backup

The backup command is: docker run --user $(id -u):$(id -g) --rm --name grafana-backup-tool -v /etc/localtime:/etc/localtime:ro -e GRAFANA_TOKEN="glsa_4ZlYeIWSRVbSl_97db98a0" -e GRAFANA_URL=http://172.168.1.130:3000 -e VERIFY_SSL=False -v /opt/backup/:/opt/grafana-backup-tool/_OUTPUT_ ysde/docker-grafana-backup-tool 1

chriz-active commented 1 year ago

Testing with grafana v9.5.5 and some v10 using a service-account-token runs through for us.