Any reason why pg_dumpall is using -l "$DB" #85
Replies: 1 comment
-
no need to keep questions open that are not going being be answered |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as i can see, to use a POSTGRES_CLUSTER backup to backup all databases, on need to set
POSTGRES_CLUSTER=true
POSTGRES_DB=auth
What i wonder is, why
POSTGRES_DB
was build to be required in this setup?https://github.com/prodrigestivill/docker-postgres-backup-local/blob/main/backup.sh#L80=
Usually
pg_dumpall
is used without that flag https://www.postgresql.org/docs/7.1/app-pg-dumpall.htmlIt set's the default database in this case, but what is the purpose?
Beta Was this translation helpful? Give feedback.
All reactions