From: bvo <pepevo@yahoo.com>
To: pgsql-general@postgresql.org
Subject: backup broken
Date: Mon, 24 Feb 2020 08:23:43 -0700 (MST)
Message-ID: <1582557823739-0.post@n3.nabble.com> (raw)
Hello,
my pg_backup_rotated.sh script ran fine since Dec 20 and after rebuild the
slave now it's broken and I do not know why. I can run pg_dumpall >
/tmp_all_db_backup.sql but not from the script. From the log its pg_dumall:
could not connect to database "template1": FATAL: Ident authentication
failed for user "postgres". I tried to reset postgres in psql as "alter
user postgres with PASSWORD 'xxxxx'; (as same as the old one and the
postgres os).
I run pg_backup_rotated.sh as postgres and it promp me for the password and
then password for user postges and repeat it again and again until all the
databases backup.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: pepevo@yahoo.com
Subject: Re: backup broken
In-Reply-To: <1582557823739-0.post@n3.nabble.com>
References: <1582557823739-0.post@n3.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox