Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s00tu-0001FW-QA for pgsql-admin@arkaria.postgresql.org; Thu, 25 Apr 2024 15:20:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s00l1-0081eT-W7 for pgsql-admin@arkaria.postgresql.org; Thu, 25 Apr 2024 15:11:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s00l1-0081a8-KJ for pgsql-admin@lists.postgresql.org; Thu, 25 Apr 2024 15:11:31 +0000 Received: from mail201237.delibird0002.locaweb.com.br ([201.76.49.237]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s00kx-004bPZ-BI for pgsql-admin@lists.postgresql.org; Thu, 25 Apr 2024 15:11:30 +0000 Received: from mcbain0020.email.locaweb.com.br (189.126.112.15) by mail201123.delibird0002.locaweb.com.br id h59p3m2n8lg9 for ; Thu, 25 Apr 2024 12:09:46 -0300 (envelope-from ) Received: from dragonite0035.email.locaweb.com.br (dragonite0035.email.locaweb.com.br [10.31.120.15]) by mcbain0020.email.locaweb.com.br (Postfix) with ESMTP id 58C71148057D; Thu, 25 Apr 2024 12:05:16 -0300 (-03) x-locaweb-id: 8s5dompSY9lzdgYuzvdAqyhiRl4cod0b8PDapWOWPTg2esmM5m_eojrEGJxOJErhAjCtDXXvCF-pyed2Tk2BVExjr5fZPDmfC9ZC39P2lF848UmcLulYhdECrgQa9D6f7W9SM84rQ12uD9TDVZUE4HNSEZ1_ml_QZgMwBm1u7Fgwvxzo7DwyiZuuqZwyxTYqROncxI8zAu5TSNYhvau5A3DkpKGcUuAJ2y668Dlb6cs= NjM2MTcyNmM2ZjczMmU2MTZjNzY2NTczNDA3NDY1NjM2ZTY5NzM3OTczMmU2MzZmNmQyZTYyNzI= x-locaweb-id: 8s5dompSY9lzdgYuzvdAqyhiRl4cod0b8PDapWOWPTg2esmM5m_eojrEGJxOJErhAjCtDXXvCF-pyed2Tk2BVExjr5fZPDmfC9ZC39P2lF848UmcLulYhdECrgQa9D6f7W9SM84rQ12uD9TDVZUE4HNSEZ1_ml_QZgMwBm1u7Fgwvxzo7DwyiZuuqZwyxTYqROncxI8zAu5TSNYhvau5A3DkpKGcUuAJ2y668Dlb6cs= NjM2MTcyNmM2ZjczMmU2MTZjNzY2NTczNDA3NDY1NjM2ZTY5NzM3OTczMmU2MzZmNmQyZTYyNzI= Received: from webmail-seguro.com.br (localhost [127.0.0.1]) (Authenticated sender: carlos.alves@tecnisys.com.br) by dragonite0035.email.locaweb.com.br (Postfix) with ESMTPA id AAD14E0067; Thu, 25 Apr 2024 12:11:16 -0300 (-03) MIME-Version: 1.0 Date: Thu, 25 Apr 2024 12:11:16 -0300 From: Carlos Alves To: Yongye Serkfem Cc: pgsql-admin@lists.postgresql.org Subject: Re: pg_basebackup Failed In-Reply-To: References: Message-ID: <7a98a314a51c82e1f6eb5714f36b0ac1@tecnisys.com.br> X-Sender: carlos.alves@tecnisys.com.br User-Agent: Roundcube Webmail/1.4.11 Content-Type: multipart/alternative; boundary="=_09d54f61c46971d78611841c961e9756" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=_09d54f61c46971d78611841c961e9756 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII 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/*" --=_09d54f61c46971d78611841c961e9756 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

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 t= ook 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 me= ssage.
Any suggest= ions will be highly appreciated.
 
Yong=
 
I think the command "rm -rf /data/postgres/.*/ " may not remov=
e all content.. try "rm -rf /data/postgres/*"
--=_09d54f61c46971d78611841c961e9756--