From 55d34d843d55f77b18b1c7a0b0896a95063e5f66 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 21 Feb 2023 11:27:17 +0100 Subject: [PATCH] copr-be: keep just 4 weekly snapshots We tend to consume too much storage on storinator. --- roles/rsnapshot-push/defaults/main.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/roles/rsnapshot-push/defaults/main.yml b/roles/rsnapshot-push/defaults/main.yml index dd5362c29e..97f28e9eaa 100644 --- a/roles/rsnapshot-push/defaults/main.yml +++ b/roles/rsnapshot-push/defaults/main.yml @@ -10,8 +10,7 @@ rsnapshot_push_defaults: # we can't keep monthly increments for too large deltas copr_be: - # We run the cron job (rsync) twice a week. Don't rotate the directory - # unless the last sync happened at least 2 days ago. - push: [172800, 3] - # Every 14 days - biweekly: [1209600, 3] + # We run the cron job (rsync) once a week. We keep a month history. + # The first number means that we don't do "push" backup more frequently + # than that number of seconds. + push: [172800, 4]