You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ services:
49
49
- POSTGRES_USER=username
50
50
- POSTGRES_PASSWORD=password
51
51
# - POSTGRES_PASSWORD_FILE=/run/secrets/db_password <-- alternative for POSTGRES_PASSWORD (to use with docker secrets)
52
-
- POSTGRES_EXTRA_OPTS=-Z6 --schema=public --blobs
52
+
- POSTGRES_EXTRA_OPTS=-Z1 --schema=public --blobs
53
53
- SCHEDULE=@daily
54
54
- BACKUP_KEEP_DAYS=7
55
55
- BACKUP_KEEP_WEEKS=4
@@ -82,7 +82,7 @@ Most variables are the same as in the [official postgres image](https://hub.dock
82
82
| HEALTHCHECK_PORT | Port listening for cron-schedule health check. Defaults to `8080`. |
83
83
| POSTGRES_DB | Comma or space separated list of postgres databases to backup. Required. |
84
84
| POSTGRES_DB_FILE | Alternative to POSTGRES_DB, but with one database per line, for usage with docker secrets. |
85
-
| POSTGRES_EXTRA_OPTS | Additional [options](https://www.postgresql.org/docs/12/app-pgdump.html#PG-DUMP-OPTIONS) for `pg_dump` (or `pg_dumpall` [options](https://www.postgresql.org/docs/12/app-pg-dumpall.html#id-1.9.4.13.6) if POSTGRES_CLUSTER is set). Defaults to `-Z6`. |
85
+
| POSTGRES_EXTRA_OPTS | Additional [options](https://www.postgresql.org/docs/12/app-pgdump.html#PG-DUMP-OPTIONS) for `pg_dump` (or `pg_dumpall` [options](https://www.postgresql.org/docs/12/app-pg-dumpall.html#id-1.9.4.13.6) if POSTGRES_CLUSTER is set). Defaults to `-Z1`. |
86
86
| POSTGRES_CLUSTER | Set to `TRUE` in order to use `pg_dumpall` instead. Also set POSTGRES_EXTRA_OPTS to any value or empty since the default value is not compatible with `pg_dumpall`. |
87
87
| POSTGRES_HOST | Postgres connection parameter; postgres host to connect to. Required. |
0 commit comments