Skip to content

Commit 07ce25d

Browse files
chore: Updated README.MD to add MIN_SAVED_FILE variable
1 parent 8e19574 commit 07ce25d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ means it will use default filename format.
8484
databases.
8585
* `REMOVE_BEFORE` remove all old backups older than specified amount of days, e.g. `30` would
8686
only keep backup files younger than 30 days. Default: no files are ever removed.
87+
* `MIN_SAVED_FILE` if set, it ensures that we keep at least this amount of files. For instance, if we
88+
choose `20`, we will at least keep 20 backups even if they are older than `REMOVE_BEFORE`. Default: set to 0.
8789
* `DUMP_ARGS` The default dump arguments based on official
8890
[PostgreSQL Dump options](https://www.postgresql.org/docs/17/app-pgdump.html).
8991
* `RESTORE_ARGS` Additional restore commands based on official [PostgreSQL restore](https://www.postgresql.org/docs/17/app-pgrestore.html)

0 commit comments

Comments
 (0)