Re: pg_basebackup Failed

From: Carlos Alves <carlos(dot)alves(at)tecnisys(dot)com(dot)br>
To: Yongye Serkfem <yserkfem(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: pg_basebackup Failed
Date: 2024-04-25 15:11:16
Message-ID: 7a98a314a51c82e1f6eb5714f36b0ac1@tecnisys.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/*"

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sunil Jadhav 2024-04-25 15:46:22 Re: Required distinct record with all fields
Previous Message Paul Smith* 2024-04-25 15:09:20 Re: Required distinct record with all fields