Re: pg_basebackup Failed - Mailing list pgsql-admin

From Carlos Alves
Subject Re: pg_basebackup Failed
Date
Msg-id 7a98a314a51c82e1f6eb5714f36b0ac1@tecnisys.com.br
Whole thread Raw
In response to pg_basebackup Failed  (Yongye Serkfem <yserkfem@gmail.com>)
List pgsql-admin

Em 25/04/2024 09:34, Yongye Serkfem escreveu:

Hi All,
I do not know why I am having this problem. My pg_basebackup which I took using this command "pg_basebackup -h xxxxxx -p 5432 -U postgres_repuser -D /data/postgres -R" is failing with this error message "pg_basebackup: error: could not create directory "/data/postgres/pg_log": File exists"
I cleaned up that directory using rm -rf /data/postgres/ .*/ and I still end up with the above error message.
Any suggestions will be highly appreciated.
 
Yong
 
I think the command "rm -rf /data/postgres/.*/ " may not remove all content.. try "rm -rf /data/postgres/*"

pgsql-admin by date:

Previous
From: Paul Smith*
Date:
Subject: Re: Required distinct record with all fields
Next
From: Sunil Jadhav
Date:
Subject: Re: Required distinct record with all fields