Commit 581975d85619c266ff131bfbe91523de01af2bd8

Authored by Jacob Vosmaer
2 parents 321decb4 bdd50674

Merge branch 'nmeth_doc_tweaks' into 'master'

README: Add reminder/info about limiting backup lifetime with regular backups

I've added an extra paragraph to the README.md to aid with limiting the keep time of backups when setting up a regular backup schedule.
Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
@@ -359,6 +359,15 @@ There, add the following line to schedule the backup for everyday at 2 AM: @@ -359,6 +359,15 @@ There, add the following line to schedule the backup for everyday at 2 AM:
359 0 2 * * * /opt/gitlab/bin/gitlab-rake gitlab:backup:create 359 0 2 * * * /opt/gitlab/bin/gitlab-rake gitlab:backup:create
360 ``` 360 ```
361 361
  362 +You may also want to set a limited lifetime for backups to prevent regular
  363 +backups using all your disk space. To do this add the following lines to
  364 +`/etc/gitlab/gitlab.rb` and reconfigure:-
  365 +
  366 +```
  367 +# limit backup lifetime to 7 days - 604800 seconds
  368 +gitlab_rails['backup_keep_time'] = 604800
  369 +```
  370 +
362 ### Restoring an application backup 371 ### Restoring an application backup
363 372
364 We will assume that you have installed GitLab from an omnibus package and run 373 We will assume that you have installed GitLab from an omnibus package and run