Limit last backups by minutes

This commit is contained in:
Pau Rodriguez-Estivill
2022-02-26 16:28:57 +01:00
parent 95e93b19fa
commit b6163ee56a
5 changed files with 27 additions and 16 deletions
+1
View File
@@ -73,6 +73,7 @@ Most variables are the same as in the [official postgres image](https://hub.dock
| BACKUP_KEEP_DAYS | Number of daily backups to keep before removal. Defaults to `7`. |
| BACKUP_KEEP_WEEKS | Number of weekly backups to keep before removal. Defaults to `4`. |
| BACKUP_KEEP_MONTHS | Number of monthly backups to keep before removal. Defaults to `6`. |
| BACKUP_KEEP_MINS | Number of minutes for `last` folder backups to keep before removal. Defaults to `1440`. |
| HEALTHCHECK_PORT | Port listening for cron-schedule health check. Defaults to `8080`. |
| POSTGRES_DB | Comma or space separated list of postgres databases to backup. Required. |
| POSTGRES_DB_FILE | Alternative to POSTGRES_DB, but with one database per line, for usage with docker secrets. |