NoeBerdoz/pgbackrest-expire-retention
This script optimizes your PostgreSQL backup strategy by automating the expiration of pgbackrest backups. It goes beyond the default retention policies, removing incremental backups older than a week while preserving the oldest backup per month from the last 12 months and the oldest backup per year
Python