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
Jérome Perrin
gitlab-ce
Commits
4ed5a506
Commit
4ed5a506
authored
Sep 25, 2014
by
Job van der Voort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set the proposed backup time to 4am
parent
2aeac794
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+2
-2
No files found.
doc/raketasks/backup_restore.md
View file @
4ed5a506
...
@@ -115,6 +115,6 @@ sudo -u git crontab -e # Edit the crontab for the git user
...
@@ -115,6 +115,6 @@ sudo -u git crontab -e # Edit the crontab for the git user
Add the following lines at the bottom:
Add the following lines at the bottom:
```
```
# Create a full backup of the GitLab repositories and SQL database every day at
2
am
# Create a full backup of the GitLab repositories and SQL database every day at
4
am
0
2
* * * cd /home/git/gitlab && PATH=/usr/local/bin:/usr/bin:/bin bundle exec rake gitlab:backup:create RAILS_ENV=production
0
4
* * * cd /home/git/gitlab && PATH=/usr/local/bin:/usr/bin:/bin bundle exec rake gitlab:backup:create RAILS_ENV=production
```
```
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