Skip to content

Commit b1c0657

Browse files
committed
ops: cut postgres backup retention from 7 to 3 days
1 parent e2ca059 commit b1c0657

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/scripts/backup-postgres.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BACKUP_DIR="${DATA_DIR}/backups/postgres"
99
CONTAINER="${PG_CONTAINER:-secondlayer-postgres-1}"
1010
PG_USER="${PG_USER:-secondlayer}"
1111
PG_DB="${PG_DB:-secondlayer}"
12-
RETENTION_DAYS=7
12+
RETENTION_DAYS=3
1313
DATE=$(date +%Y%m%d-%H%M%S)
1414

1515
log() { echo "[$(date -Iseconds)] $*"; }

0 commit comments

Comments
 (0)