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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
739c69cc
Commit
739c69cc
authored
Jun 27, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that DIRECTORY environment variable in backups only applies to remote storage
Closes #38949
parent
cf0b459b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+10
-9
No files found.
doc/raketasks/backup_restore.md
View file @
739c69cc
...
...
@@ -326,6 +326,16 @@ For installations from source:
1.
[Restart GitLab] for the changes to take effect
#### Specifying a custom directory for backups
Note: This option only works for remote storage. If you want to group your backups
you can pass a
`DIRECTORY`
environment variable:
```
sudo gitlab-rake gitlab:backup:create DIRECTORY=daily
sudo gitlab-rake gitlab:backup:create DIRECTORY=weekly
```
### Uploading to locally mounted shares
You may also send backups to a mounted share (
`NFS`
/
`CIFS`
/
`SMB`
/ etc.) by
...
...
@@ -369,15 +379,6 @@ For installations from source:
remote_directory
:
'
gitlab_backups'
```
### Specifying a custom directory for backups
If you want to group your backups you can pass a
`DIRECTORY`
environment variable:
```
sudo gitlab-rake gitlab:backup:create DIRECTORY=daily
sudo gitlab-rake gitlab:backup:create DIRECTORY=weekly
```
### Backup archive permissions
The backup archives created by GitLab (
`1393513186_2014_02_27_gitlab_backup.tar`
)
...
...
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