From f074eb9bc7d10b2e495cdaf9936c30e95eee8a34 Mon Sep 17 00:00:00 2001
From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de>
Date: Fri, 21 Jul 2023 15:05:51 +0200
Subject: [PATCH] postgres/pgbackrest: Disable `frequently` backup
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Turns out this isn’t really required with the WAL archiving and it uses way too
much storage.

Let’s see whether the daily backups should rather be differential or
incremental.
---
 postgres/tasks/pgbackrest.yml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/postgres/tasks/pgbackrest.yml b/postgres/tasks/pgbackrest.yml
index fb06c97..43b891a 100644
--- a/postgres/tasks/pgbackrest.yml
+++ b/postgres/tasks/pgbackrest.yml
@@ -56,12 +56,6 @@
       {% if item.sleep %}sleep $(($RANDOM \% 3600)) &&{% endif %}
       pgbackrest backup --stanza=main --type={{ item.type }}
   loop:
-    - name: frequently
-      weekday: "*"
-      hour: "*"
-      minute: "{{ pgbackrest_frequently_minute }}"
-      sleep: false
-      type: incr
     - name: daily
       weekday: 1-6
       hour: 3
-- 
GitLab