pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Craig James <cjames@emolecules.com>
Cc: Matheus de Oliveira <matioli.matheus@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: pg_basebackup bug: base backup is double the size of the database
Date: Wed, 21 Jan 2015 23:19:12 -0500
Message-ID: <20150122041912.GC27757@momjian.us> (raw)
In-Reply-To: <CAFwQ8rfsnZUXt2N1R8vOtmLuvx4FXmzJ5Jrq5YwkRpWefNGRAw@mail.gmail.com>
References: <CAFwQ8reMSPCeWH+n_LrZeLg=auQh4LiypKhcYGaROdnxet9mYw@mail.gmail.com>
	<CAJghg4Lqpc9RE-W1x-ufbjjRX2Kry7M68dqp1gSFOwhoq9tEJA@mail.gmail.com>
	<CAFwQ8rfsnZUXt2N1R8vOtmLuvx4FXmzJ5Jrq5YwkRpWefNGRAw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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. +


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (15+ messages)  latest in thread

Message-ID: <20150122041912.GC27757@momjian.us>
Permalink:  ../20150122041912.GC27757@momjian.us/
Also on:    postgresql.org/message-id/20150122041912.GC27757@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, cjames@emolecules.com, matioli.matheus@gmail.com
  Subject: Re: pg_basebackup bug: base backup is double the size of the database
  In-Reply-To: <20150122041912.GC27757@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox