Skip to content
Snippets Groups Projects
Commit bb6b6d5b authored by Corné Lukken's avatar Corné Lukken
Browse files

Update README.md to describe restore procedure

parent 3a68ecd1
No related branches found
No related tags found
No related merge requests found
Pipeline #96096 passed
...@@ -10,3 +10,16 @@ Grafana Backup to minio utility. ...@@ -10,3 +10,16 @@ Grafana Backup to minio utility.
4. `MINIO_BUCKET`: The bucket to store the backups in 4. `MINIO_BUCKET`: The bucket to store the backups in
5. `GRAFANA_URL`: grafana 'scheme://address:port' port must be web port 5. `GRAFANA_URL`: grafana 'scheme://address:port' port must be web port
6. `GRAFANA_TOKEN`: The token to authenticate with 6. `GRAFANA_TOKEN`: The token to authenticate with
## Restore procedure
1. Get your backup archive and place it somewhere on disc.
```shell
virtualenv -p python3 venv
source venv/bin/activate
pip install grafana-backup
export GRAFANA_URL="https://____.___" # CHANGE ME
export GRAFANA_TOKEN="CHANGE_ME" # CHANGE ME
grafana-backup restore backup.tar.gz
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment