Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
cce6ed96
Commit
cce6ed96
authored
Mar 01, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-17' into 'master'
remove duplicate backup skip details See merge request !9525
parents
5ca144a0
043e9404
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
24 deletions
+8
-24
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+8
-24
No files found.
doc/raketasks/backup_restore.md
View file @
cce6ed96
...
@@ -38,23 +38,6 @@ If you are running GitLab within a Docker container, you can run the backup from
...
@@ -38,23 +38,6 @@ If you are running GitLab within a Docker container, you can run the backup from
docker exec -t <container name> gitlab-rake gitlab:backup:create
docker exec -t <container name> gitlab-rake gitlab:backup:create
```
```
You can specify that portions of the application data be skipped using the
environment variable
`SKIP`
. You can skip:
-
`db`
(database)
-
`uploads`
(attachments)
-
`repositories`
(Git repositories data)
-
`builds`
(CI job output logs)
-
`artifacts`
(CI job artifacts)
-
`lfs`
(LFS objects)
-
`registry`
(Container Registry images)
Separate multiple data types to skip using a comma. For example:
```
sudo gitlab-rake gitlab:backup:create SKIP=db,uploads
```
Example output:
Example output:
```
```
...
@@ -111,13 +94,14 @@ To use the `copy` strategy instead of the default streaming strategy, specify
...
@@ -111,13 +94,14 @@ To use the `copy` strategy instead of the default streaming strategy, specify
You can choose what should be backed up by adding the environment variable
`SKIP`
.
You can choose what should be backed up by adding the environment variable
`SKIP`
.
The available options are:
The available options are:
*
`db`
-
`db`
(database)
*
`uploads`
(attachments)
-
`uploads`
(attachments)
*
`repositories`
-
`repositories`
(Git repositories data)
*
`builds`
(CI build output logs)
-
`builds`
(CI job output logs)
*
`artifacts`
(CI build artifacts)
-
`artifacts`
(CI job artifacts)
*
`lfs`
(LFS objects)
-
`lfs`
(LFS objects)
*
`pages`
(pages content)
-
`registry`
(Container Registry images)
-
`pages`
(Pages content)
Use a comma to specify several options at the same time:
Use a comma to specify several options at the same time:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment