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-bugs(at)postgresql(dot)org
Subject: error on online backup using pg_basebackup tool
Date: 2015-09-03 01:28:07
Message-ID: CAKOcMA5ddDzh5AtLa+YHp91tmMbGHJLtLK4RU3R-sPN9KeYJrA@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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Gerdan Rezende dos Santos 2015-09-03 01:31:19 error on online backup using pg_basebackup tool
Previous Message Andres Freund 2015-09-03 00:06:15 Re: BUG #13440: unaccent does not remove all diacritics

Browse pgsql-general by date

  From Date Subject
Next Message Gerdan Rezende dos Santos 2015-09-03 01:31:19 error on online backup using pg_basebackup tool
Previous Message Adrian Klaver 2015-09-02 23:52:03 Re: Retrieve postgres password