diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-11-20 15:46:04 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-11-20 15:46:04 +0100 |
commit | 7c54c63ac14eb8f5ce0e364d709988fcfe4dda64 (patch) | |
tree | 53b4461e343e3dac5656cf2c17e7400136ef5e66 /doc/raketasks | |
parent | b036300f0ac7442c488a6eef6a85c3f6cb77d7fd (diff) | |
download | gitlab-ce-7c54c63ac14eb8f5ce0e364d709988fcfe4dda64.tar.gz |
Add CRON=1 backup setting for quiet backups
Diffstat (limited to 'doc/raketasks')
-rw-r--r-- | doc/raketasks/backup_restore.md | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/raketasks/backup_restore.md b/doc/raketasks/backup_restore.md index d2f0d6e7bc1..68e8a14f52f 100644 --- a/doc/raketasks/backup_restore.md +++ b/doc/raketasks/backup_restore.md @@ -203,5 +203,8 @@ Add the following lines at the bottom: ``` # 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 +0 4 * * * cd /home/git/gitlab && PATH=/usr/local/bin:/usr/bin:/bin bundle exec rake gitlab:backup:create RAILS_ENV=production CRON=1 ``` + +The `CRON=1` environment setting tells the backup script to suppress all progress output if there are no errors. +This is recommended to reduce cron spam. |