Merge branch 'backup-time' into 'master'

Backup time

The suggested backup time conflicts with daylight savings time, which occurs between 1-3am, causing the backup either to be skipped or ran twice.

See merge request !1118
This commit is contained in:
Jacob Vosmaer 2014-09-25 07:52:23 +00:00
commit b0a4ec5ea2
1 changed files with 2 additions and 2 deletions

View File

@ -115,6 +115,6 @@ sudo -u git crontab -e # Edit the crontab for the git user
Add the following lines at the bottom:
```
# Create a full backup of the GitLab repositories and SQL database every day at 2am
0 2 * * * cd /home/git/gitlab && PATH=/usr/local/bin:/usr/bin:/bin bundle exec rake gitlab:backup:create RAILS_ENV=production
# Create a full backup of the GitLab repositories and SQL database every day at 4am
0 4 * * * cd /home/git/gitlab && PATH=/usr/local/bin:/usr/bin:/bin bundle exec rake gitlab:backup:create RAILS_ENV=production
```