Обсуждение: pg_basebackup failing

Поиск
Список
Период
Сортировка

pg_basebackup failing

От
jayesh thakare
Дата:
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

Re: pg_basebackup failing

От
Tim Gerber
Дата:
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