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:
commit
b0a4ec5ea2
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue