From: Carlos Alves <carlos.alves@tecnisys.com.br>
To: Yongye Serkfem <yserkfem@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: pg_basebackup Failed
Date: Thu, 25 Apr 2024 12:11:16 -0300
Message-ID: <7a98a314a51c82e1f6eb5714f36b0ac1@tecnisys.com.br> (raw)
In-Reply-To: <CAAu_hGvc7W=OhkPkK48dO51h_kkmr4tvUeJX92bh50CdEHwZzQ@mail.gmail.com>
References: <CAAu_hGvc7W=OhkPkK48dO51h_kkmr4tvUeJX92bh50CdEHwZzQ@mail.gmail.com>
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/*"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: carlos.alves@tecnisys.com.br, yserkfem@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: pg_basebackup Failed
In-Reply-To: <7a98a314a51c82e1f6eb5714f36b0ac1@tecnisys.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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