Re: pg_basebackup failing - Mailing list pgsql-admin

From Tim Gerber
Subject Re: pg_basebackup failing
Date
Msg-id CAPKih1wsUrDxS3j4uDTsKu_awTij71O04PU6G-JVwaf_DHd=WA@mail.gmail.com
Whole thread Raw
In response to pg_basebackup failing  (jayesh thakare <thakarejayesh700@gmail.com>)
List pgsql-admin
Please verify that the PG data directory is being passed in.  This can be done by setting the PGDATA environment variable or by sending in the --pgdata=<pd data directory> with pg_basebackup command. 

Ref:  https://www.postgresql.org/docs/current/app-pgbasebackup.html

Best Regards,
Tim Gerber

On Sun, Jan 19, 2025 at 11:40 PM jayesh thakare <thakarejayesh700@gmail.com> wrote:
Hi all,

We are getting below error aand backup is getting failed ....


pg_basebacmup: could not get write-ahead log end position from server: ERROR: could not stat file or directory "./base/16454/14962505": Permission denied.

Regards,
Jayesh Thakare
+91 8828986182

pgsql-admin by date:

Previous
From: jayesh thakare
Date:
Subject: pg_basebackup failing
Next
From: Siraj G
Date:
Subject: Performance issue - Seq Scan