postgresql_backup. Adding README to mention .pgpass
This commit is contained in:
parent
66667dc103
commit
89b50cc40f
17
postgresql_backup/README.md
Normal file
17
postgresql_backup/README.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
## Authentication
|
||||||
|
|
||||||
|
Do not forget to create and/or edit `~/.pgpass` file providing all needed passwords for each host:
|
||||||
|
|
||||||
|
The format is the following:
|
||||||
|
```csv
|
||||||
|
hostname:port:database:username:password
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
|
||||||
|
```csv
|
||||||
|
localhost:5432:*:postgres:pg_password_1
|
||||||
|
localhost:5433:*:postgres:pg_password_2
|
||||||
|
```
|
Loading…
Reference in a new issue