Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YE9Ek-0000oJ-71 for pgsql-admin@arkaria.postgresql.org; Thu, 22 Jan 2015 04:19:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YE9Ej-0006d3-ML for pgsql-admin@arkaria.postgresql.org; Thu, 22 Jan 2015 04:19:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YE9Ei-0006aK-CL for pgsql-admin@postgresql.org; Thu, 22 Jan 2015 04:19:16 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YE9Ef-0002KJ-6x for pgsql-admin@postgresql.org; Thu, 22 Jan 2015 04:19:14 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1YE9Ee-0008Ho-9f; Wed, 21 Jan 2015 23:19:12 -0500 Date: Wed, 21 Jan 2015 23:19:12 -0500 From: Bruce Momjian To: Craig James Cc: Matheus de Oliveira , "pgsql-admin@postgresql.org" Subject: Re: pg_basebackup bug: base backup is double the size of the database Message-ID: <20150122041912.GC27757@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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 On Wed, Jan 21, 2015 at 11:01:15AM -0800, Craig James wrote: > If I'm not overlooking, then neither barman nor pg_basebackup is to blame, > but whoever created the hard links; if PostgreSQL did this (which I doubt) > then it is a bug. > > > As I said, I absolutely didn't create these links. I never, ever monkey with > the innards of the Postgres tablespaces. Never have, never will.  It had to be > done by Postgres, pg_upgrade or some other Postgres binary. If you used --link mode, it does create hard links between the old and new clusters, which is clearly documented. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin