pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: eshkinkot@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7986: base backup copy all files from tablespace, not only needed data
Date: Mon, 25 Mar 2013 20:40:20 +0200
Message-ID: <51509A14.8030602@vmware.com> (raw)
In-Reply-To: <E1UJPbL-0004SU-26@wrigleys.postgresql.org>
References: <E1UJPbL-0004SU-26@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 23.03.2013 16:39, eshkinkot@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      7986
> Logged by:          Sergey Burladyan
> Email address:      eshkinkot@gmail.com
> PostgreSQL version: 9.2.3
> Operating system:   Debian GNU/Linux 7.0 (wheezy)
> Description:
>
> I have one tablespace dir with multiple versions:
> $ ls -la ~/inst/var/l/
> итого 16
> drwx------ 4 seb seb 4096 Мар 23 18:26 .
> drwxr-xr-x 7 seb seb 4096 Мар 23 18:28 ..
> drwx------ 3 seb seb 4096 Мар 23 18:24 PG_9.2_201204301
> drwx------ 3 seb seb 4096 Мар 23 18:26 PG_9.3_201303201
>
> ../pg-dev-master/bin/pg_basebackup -Ft -D backup copy all subdirectorys from
> tablespace dir:
> $ tar -tf backup/16384.tar
> PG_9.2_201204301/
> PG_9.2_201204301/12042/
> PG_9.2_201204301/12042/16385
> PG_9.3_201303201/
> PG_9.3_201303201/12070/
> PG_9.3_201303201/12070/16385
> PG_9.3_201303201/12070/16390
> PG_9.3_201303201/12070/16388
>
> IMHO it must copy only self version dir PG_9.3_201303201

Agreed. Fixed, thanks for the report.

- Heikki


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



view thread (2+ messages)

Message-ID: <51509A14.8030602@vmware.com>
Permalink:  ../51509A14.8030602@vmware.com/
Also on:    postgresql.org/message-id/51509A14.8030602@vmware.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: hlinnakangas@vmware.com, eshkinkot@gmail.com
  Subject: Re: BUG #7986: base backup copy all files from tablespace, not only needed data
  In-Reply-To: <51509A14.8030602@vmware.com>
  References: <E1UJPbL-0004SU-26@wrigleys.postgresql.org> <51509A14.8030602@vmware.com>

* 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