Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f478k-00083e-U1 for pgsql-general@arkaria.postgresql.org; Thu, 05 Apr 2018 15:49:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f478j-0007G8-UN for pgsql-general@arkaria.postgresql.org; Thu, 05 Apr 2018 15:49:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f475D-0000Fw-Un for pgsql-general@lists.postgresql.org; Thu, 05 Apr 2018 15:45:52 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f4759-0001dM-Hv for pgsql-general@postgresql.org; Thu, 05 Apr 2018 15:45:50 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id C3F8DC238705 for ; Thu, 5 Apr 2018 08:45:44 -0700 (MST) Date: Thu, 5 Apr 2018 08:45:44 -0700 (MST) From: PegoraroF10 To: pgsql-general@postgresql.org Message-ID: <1522943144800-0.post@n3.nabble.com> Subject: pg_basebackup or dump for starting replication process MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk For replication purposes only, there are any difference between pg_basebackup or dump to copy data from Master to Slave ? On Docs is written that pg_basebackup can be used both for point-in-time recovery and as the starting point for a log shipping or streaming replication standby servers. We are using just Dump, there are any caveat of using it for logical replication ? -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html