From 89b50cc40f3dca8a396bd81f09587093591af510 Mon Sep 17 00:00:00 2001 From: skobkin Date: Wed, 6 Nov 2024 19:02:44 +0000 Subject: [PATCH] postgresql_backup. Adding README to mention .pgpass --- postgresql_backup/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 postgresql_backup/README.md diff --git a/postgresql_backup/README.md b/postgresql_backup/README.md new file mode 100644 index 0000000..e070ec2 --- /dev/null +++ b/postgresql_backup/README.md @@ -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 +``` \ No newline at end of file