Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GaRiBAldi
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Grafana
GaRiBAldi
Commits
bb6b6d5b
Commit
bb6b6d5b
authored
11 months ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
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
11 months ago
Stage: build
Stage: test
Stage: tag-latest
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-1
14 additions, 1 deletion
README.md
with
14 additions
and
1 deletion
README.md
+
14
−
1
View file @
bb6b6d5b
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment