From a4e6321375e146bdccb115613d96e83e58932853 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Mon, 3 Dec 2018 15:58:19 +0100
Subject: [PATCH] Delete local backups after 7 days

---
 templates/gitlab.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/gitlab.rb b/templates/gitlab.rb
index c7857d3..3a3e159 100644
--- a/templates/gitlab.rb
+++ b/templates/gitlab.rb
@@ -125,6 +125,7 @@ gitlab_rails['backup_upload_connection'] = {
   'google_storage_secret_access_key' => '{{ gcloud[gitlab_backup.gcloud].interoperability.secret }}'
 }
 gitlab_rails['backup_upload_remote_directory'] = '{{ gitlab_backup.directory }}'
+gitlab_rails['backup_keep_time'] = 604800
 
 ## For setting up different data storing directory
 ## see https://gitlab.com/gitlab-org/omnibus-gitlab/blob/629def0a7a26e7c2326566f0758d4a27857b52a3/README.md#storing-git-data-in-an-alternative-directory
-- 
GitLab