Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WztL9-0005j3-6y for pgsql-admin@arkaria.postgresql.org; Wed, 25 Jun 2014 19:58:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WztL8-00077b-6x for pgsql-admin@arkaria.postgresql.org; Wed, 25 Jun 2014 19:58:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WztL7-00077V-GI for pgsql-admin@postgresql.org; Wed, 25 Jun 2014 19:58:41 +0000 Received: from mail3.neteven.com ([37.59.178.241]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WztL4-0007Nn-Cd for pgsql-admin@postgresql.org; Wed, 25 Jun 2014 19:58:40 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail3.neteven.com (Postfix) with ESMTP id 6EA702207E4 for ; Wed, 25 Jun 2014 21:58:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail3.neteven.com Received: from mail3.neteven.com ([127.0.0.1]) by localhost (mail3.neteven.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pahL6q4wN3fC for ; Wed, 25 Jun 2014 21:58:35 +0200 (CEST) Received: from [192.168.0.30] (pon77-2-88-187-41-168.fbx.proxad.net [88.187.41.168]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail3.neteven.com (Postfix) with ESMTPSA id 14BAF2207BD for ; Wed, 25 Jun 2014 21:58:35 +0200 (CEST) Message-ID: <53AB29E8.6010209@neteven.com> Date: Wed, 25 Jun 2014 21:58:32 +0200 From: thomas simon User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "pgsql-admin@postgresql.org" Subject: Pg_basebackup does not do aything Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hello, I have a configuration in master (A) /slave (B) streaming replication. I bought a third server (C), and I want to use C as my next master server. In a first time, i would like to sync C as a slave, and in a second time i would like to promote C to master, and change my current master (A) to slave (the third server (B) would be out of the equation) So I tried to use pg_basebackup on C, either synced on B if possible (cascading replication), or in A if it is needed, but when i use the command, nothing happened My command is : pg_basebackup -D /data/postgresql/9.3/main -P -v -h MASTER -U replicator -X s (this command worked when I used it on my current slave) In view pg_stat_replication on master, I have this (1st is my streaming on slave, 2nd is the pg_basebackup I try to use) 506 | 5828189 | replicator | walreceiver | 172.25.1.2 | | 48022 | 2014-06-25 21:54:34.561107+02 | streaming | 3E3/597E0000 | 3E3/597A0000 | 3E3/597A0000 | 3E3/5977F290 | 0 | async 512 | 5828189 | replicator | pg_basebackup | 172.25.1.3 | | 45573 | 2014-06-25 21:54:39.324114+02 | backup | 0/0 | 3DD/BDF88000 | 3DD/BDF88000 | 3DD/BDF67C98 | 0 | async I try to use it on master and slave, but it does the same thing (nothing) I am wrong in the way I try to use replication ? Thanks Thomas -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin