pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
backup broken 2+ messages / 1 participants [nested] [flat]
* backup broken @ 2020-02-24 15:23 bvo <pepevo@yahoo.com> 0 siblings, 1 reply; 2+ messages in thread From: bvo @ 2020-02-24 15:23 UTC (permalink / raw) To: pgsql-general 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. ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: backup broken @ 2020-02-24 15:50 bvo <pepevo@yahoo.com> parent: bvo <pepevo@yahoo.com> 0 siblings, 0 replies; 2+ messages in thread From: bvo @ 2020-02-24 15:50 UTC (permalink / raw) To: pgsql-general I correct the pg_hba.conf host all all 0.0.0.0/0 md5 to trust and the backup script work as root and postgres but pgAdmin4 stop launched. I needed to change all from ident to trust and add host all all 0.0.0.0/0 trust all working fine now. thank you. Bach-Nga -- Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-02-24 15:50 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-02-24 15:23 backup broken bvo <pepevo@yahoo.com> 2020-02-24 15:50 ` bvo <pepevo@yahoo.com>
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