Skip to content
Snippets Groups Projects
Commit f60dec5d authored by Chuck Schweizer's avatar Chuck Schweizer
Browse files

Allow setting of backup keep_time in gitlab.rb

parent 8f1d1be1
No related branches found
No related tags found
1 merge request!70Allow Setting Backup Keep Time
Loading
Loading
@@ -90,6 +90,7 @@ default['gitlab']['gitlab-rails']['ldap_user_filter'] = ""
default['gitlab']['gitlab-rails']['ldap_group_base'] = ""
default['gitlab']['gitlab-rails']['satellites_path'] = "/var/opt/gitlab/git-data/gitlab-satellites"
default['gitlab']['gitlab-rails']['backup_path'] = "/var/opt/gitlab/backups"
default['gitlab']['gitlab-rails']['backup_keep_time'] = 0
default['gitlab']['gitlab-rails']['gitlab_shell_path'] = "/opt/gitlab/embedded/service/gitlab-shell/"
default['gitlab']['gitlab-rails']['gitlab_shell_repos_path'] = "/var/opt/gitlab/git-data/repositories"
default['gitlab']['gitlab-rails']['gitlab_shell_hooks_path'] = "/opt/gitlab/embedded/service/gitlab-shell/hooks/"
Loading
Loading
Loading
Loading
@@ -197,7 +197,7 @@ production: &base
## Backup settings
backup:
path: "<%= @backup_path %>" # Relative paths are relative to Rails.root (default: tmp/backups/)
# keep_time: 604800 # default: 0 (forever) (in seconds)
keep_time: <%= @backup_keep_time %> # default: 0 (forever) (in seconds)
 
## GitLab Shell settings
gitlab_shell:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment