Skip to content

Commit 14b7165

Browse files
authored
refactor: Adjust pgBackRest retention policy for repo1 (#2044)
Update `repo1.conf` to modify the backup retention settings based on https://linear.app/supabase/issue/INDATA-415/admin-agent-add-backup-sub-command-for-pgbackrest#comment-6a00a3c1. - Set `repo1-retention-full` to 7. - Removed `repo1-retention-diff` setting. - Removed `repo1-retention-full-type` setting. This change simplifies the retention policy for repository `repo1` by specifying a full backup retention of 7 days and removing the differential and retention type configurations. Note that we will be taking daily full backups.
1 parent fbc4bf1 commit 14b7165

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ansible/files/pgbackrest_config/repo1.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
repo1-block = y
33
repo1-bundle = y
44
# repo1-path = <foo>
5-
repo1-retention-diff = 1
6-
repo1-retention-full = 28
7-
repo1-retention-full-type = time
5+
repo1-retention-full = 7
86
repo1-retention-history = 0
97
# repo1-s3-bucket= <foo>
108
# repo1-s3-endpoint = <foo>

0 commit comments

Comments
 (0)