shorten mysql backup history to 7 days from 14 [ci skip]

This commit is contained in:
Viktor Barzin 2025-04-06 18:14:17 +00:00
parent 7b9ff3e921
commit 3546284eee

View file

@ -875,7 +875,7 @@ resource "kubernetes_cron_job_v1" "postgresql-backup" {
# Rotate - delete last log file
cd /backup
find . -name "dump_*.sql" -type f -mtime +14 -delete # 14 day retention of backups
find . -name "dump_*.sql" -type f -mtime +7 -delete # 7 day retention of backups
EOT
]
volume_mount {