From f5c3f092b0e07bece1cd079355c95f308af7d99d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20de=20Saint=20Martin?= <cedric.dsm@tiolive.com> Date: Wed, 6 Nov 2013 09:33:31 +0000 Subject: [PATCH] [Resilient stack] Increase number of kept backups to 2 weeks. --- stack/resilient/buildout.cfg | 2 +- stack/resilient/parameter-schema.json | 4 ++-- stack/resilient/template-replicated.cfg.in | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stack/resilient/buildout.cfg b/stack/resilient/buildout.cfg index c92abb27c..cf0e60a1b 100644 --- a/stack/resilient/buildout.cfg +++ b/stack/resilient/buildout.cfg @@ -68,7 +68,7 @@ mode = 0644 [template-replicated] recipe = slapos.recipe.download url = ${:_profile_base_location_}/template-replicated.cfg.in -md5sum = 0bb089f73934bd651efa045c01c46473 +md5sum = 771e1ab7e7e77b35116c57bbae56ba62 mode = 0644 destination = ${buildout:directory}/template-replicated.cfg.in diff --git a/stack/resilient/parameter-schema.json b/stack/resilient/parameter-schema.json index 3fdaa2415..a7cd9353f 100644 --- a/stack/resilient/parameter-schema.json +++ b/stack/resilient/parameter-schema.json @@ -29,7 +29,7 @@ "title": "Remove backups older than...", "description": "Remove all the backups in PBS that are older than specified value. It should be rdiff-backup-compatible.", "type": "string", - "default": "3B" + "default": "2W" } } -} \ No newline at end of file +} diff --git a/stack/resilient/template-replicated.cfg.in b/stack/resilient/template-replicated.cfg.in index ff3ebf7bc..d1a5a3dad 100644 --- a/stack/resilient/template-replicated.cfg.in +++ b/stack/resilient/template-replicated.cfg.in @@ -234,7 +234,7 @@ config-notify = ${request-pbs-{{namebase}}-{{id}}:connection-notification-url} config-notification-id = ${slap-connection:computer-id}-${slap-connection:partition-id}-{{namebase}}-{{id}}-pull config-name = ${slap-connection:computer-id}-${slap-connection:partition-id}-{{namebase}}-{{id}} config-title = Pulling from {{namebase}} -config-remove-backup-older-than = {{ slapparameter_dict.get('remove-backup-older-than', '3B') }} +config-remove-backup-older-than = {{ slapparameter_dict.get('remove-backup-older-than', '2W') }} slave = true sla = instance_guid sla-instance_guid = ${request-pbs-{{namebase}}-{{id}}:instance_guid} -- 2.30.9