May 2017
Beginner
416 pages
10h 37m
English
One way to pass all kinds of parameters is to use environment variables. If information is not explicitly passed to pg_dump, it will look for the missing information in predefined environment variables. A list of all potential settings can be found here: https://www.postgresql.org/docs/9.6/static/libpq-envars.html.
The following overview shows some environment variables commonly needed for backups:
The advantage of those environments is that the password won't ...
Read now
Unlock full access