Re: pg_basebackup bug: base backup is double the size of the database - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: pg_basebackup bug: base backup is double the size of the database
Date
Msg-id 20150122041912.GC27757@momjian.us
Whole thread Raw
In response to Re: pg_basebackup bug: base backup is double the size of the database  (Craig James <cjames@emolecules.com>)
List pgsql-admin
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  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_basebackup bug: base backup is double the size of the database
Next
From: David G Johnston
Date:
Subject: Re: pg_basebackup bug: base backup is double the size of the database