Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UJPbT-0006d4-WF for pgsql-bugs@arkaria.postgresql.org; Sat, 23 Mar 2013 14:39:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UJPbS-0000kl-VF for pgsql-bugs@arkaria.postgresql.org; Sat, 23 Mar 2013 14:39:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UJPbS-0000kg-EE for pgsql-bugs@postgresql.org; Sat, 23 Mar 2013 14:39:26 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UJPbP-0003cn-2T for pgsql-bugs@postgresql.org; Sat, 23 Mar 2013 14:39:26 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UJPbL-0003XM-9Z for pgsql-bugs@postgresql.org; Sat, 23 Mar 2013 14:39:19 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1UJPbL-0004SU-26 for pgsql-bugs@postgresql.org; Sat, 23 Mar 2013 14:39:19 +0000 Date: Sat, 23 Mar 2013 14:39:19 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7986: base backup copy all files from tablespace, not only needed data To: pgsql-bugs@postgresql.org From: eshkinkot@gmail.com X-Pg-Spam-Score: -3.5 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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:=20=20=20=20=20=20=20=20 I have one tablespace dir with multiple versions: $ ls -la ~/inst/var/l/ =D0=B8=D1=82=D0=BE=D0=B3=D0=BE 16 drwx------ 4 seb seb 4096 =D0=9C=D0=B0=D1=80 23 18:26 . drwxr-xr-x 7 seb seb 4096 =D0=9C=D0=B0=D1=80 23 18:28 .. drwx------ 3 seb seb 4096 =D0=9C=D0=B0=D1=80 23 18:24 PG_9.2_201204301 drwx------ 3 seb seb 4096 =D0=9C=D0=B0=D1=80 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=20 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 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs