Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
omnibus-heptapod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
heptapod
omnibus-heptapod
Commits
0dc431d9
Commit
0dc431d9
authored
8 years ago
by
Achilleas Pipinellis
Browse files
Options
Downloads
Patches
Plain Diff
Apply some styling to backup with Docker docs
parent
49f3f156
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/settings/backups.md
+6
-2
6 additions, 2 deletions
doc/settings/backups.md
with
6 additions
and
2 deletions
doc/settings/backups.md
+
6
−
2
View file @
0dc431d9
...
...
@@ -94,6 +94,7 @@
Backups can scheduled on the host by prepending
`docker exec -t <your container name>`
to the commands.
Backup application:
```
shell
docker
exec
-t
<your container name> gitlab-rake gitlab:backup:create
```
...
...
@@ -97,4 +98,5 @@
```
shell
docker
exec
-t
<your container name> gitlab-rake gitlab:backup:create
```
Backup configuration and secrets:
...
...
@@ -100,5 +102,6 @@
Backup configuration and secrets:
```
shell
docker
exec
-t
<your container name> /bin/sh
-c
'umask 0077; tar cfz /secret/gitlab/backups/$(date "+etc-gitlab-\%s.tgz") -C / etc/gitlab'
```
...
...
@@ -101,9 +104,10 @@
```
shell
docker
exec
-t
<your container name> /bin/sh
-c
'umask 0077; tar cfz /secret/gitlab/backups/$(date "+etc-gitlab-\%s.tgz") -C / etc/gitlab'
```
*Note*
that you need to have volumes mounted at
`/secret/gitlab/backups`
and
`/var/opt/gitlab`
in order to have these backups persisted outside the cotnainer
>**Note:**
You need to have volumes mounted at
`/secret/gitlab/backups`
and
`/var/opt/gitlab`
in order to have these backups persisted outside the container.
### Restoring an application backup
...
...
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