error on online backup using pg_basebackup tool

From: Gerdan Rezende dos Santos <gerdan(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: error on online backup using pg_basebackup tool
Date: 2015-09-03 01:31:19
Message-ID: CAKOcMA4vZNbUb9Uo5kyzGUHrACsepeF7=fjUu8sY8vQ0xgc_iA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Hi 4 all!!

As Ido not know if it is my mistake or actually a bug, sending the two
topics.

When trying to perform online backup using the pg_basebackup tool, I get
the message: The folder is not empty.

steps to reproduce the error:
1 - install postgres in the / usr / local / pgsql
2 - initialize the database: / usr / local / pgsql / bin / -D /data
3 - set up pg_hba.conf to allow replication (used by online backup with
pg_basebackup)
4 - create the directories /data/newtblspc and /data/pg_tblspc/newtblspc2
5 - start with postgres -D /data
6 - create table spaces:
CREATE TABLESPACE newtblspc LOCATION '/data/newtblspc';
CREATE TABLESPACE newtblspc2 LOCATION '/data/pg_tblspc/newtblspc2'
7 - mkdir /data2
8 - Now perform a backup using pg_basebackup -D /data2 and get the error
message.

--
T.'.A.'.F.'.,
*Gerdan Rezende dos Santos *
*Po*stgreSQL & EnterpriseDB Specialist, Support, Training & Services
+55 (61) 9645-1525

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2015-09-03 01:40:59 Re: BUG #13440: unaccent does not remove all diacritics
Previous Message Gerdan Rezende dos Santos 2015-09-03 01:28:07 error on online backup using pg_basebackup tool

Browse pgsql-general by date

  From Date Subject
Next Message Tom Smith 2015-09-03 02:20:59 Re: get first and last row in one sql as two columns
Previous Message Gerdan Rezende dos Santos 2015-09-03 01:28:07 error on online backup using pg_basebackup tool