Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZNRa1-0000cw-8N for pgsql-admin@arkaria.postgresql.org; Thu, 06 Aug 2015 20:15:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZNRa0-00072i-Lj for pgsql-admin@arkaria.postgresql.org; Thu, 06 Aug 2015 20:15:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZNRZz-00071G-VH for pgsql-admin@postgresql.org; Thu, 06 Aug 2015 20:15:56 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZNRZw-00075B-To for pgsql-admin@postgresql.org; Thu, 06 Aug 2015 20:15:55 +0000 Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LjqLx-1Yq2lr3dnd-00buRX for ; Thu, 06 Aug 2015 22:15:51 +0200 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 3B61620BAE for ; Thu, 6 Aug 2015 16:15:49 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Thu, 06 Aug 2015 16:15:49 -0400 X-Sasl-enc: oJlD3YE9wEYAwVrGF9S9cZ0OU3+GrCAOyj7UWY2wEtaq 1438892149 Received: from [192.168.1.146] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id EB73768013B; Thu, 6 Aug 2015 16:15:48 -0400 (EDT) Message-ID: <55C3C073.4000207@gmx.net> Date: Thu, 06 Aug 2015 16:15:47 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Kevin Grittner , John Scalia , "pgsql-admin@postgresql.org" Subject: Re: pg_basebackup problem... References: <2095928829.121339.1438879776368.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <2095928829.121339.1438879776368.JavaMail.yahoo@mail.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:XXpEyLot5ilpRbHIv98xLtrMevmGQgodICzE13v0auBbu7AAj+M nZGhkG88lGSIHSpIbMbmUD+Ybzm8zBt6G7BhGFjfomeqcPjpa4LizqbvQE9gnBcwPQa73Yr 62JQew5ODCrHz/XrMLXvksTJXt4GKxLWfoyRwTH+RzKUldtZ2s1Q8bls7fW/jLDZP8vL/ON 8C7MWdSVAvQdJ6rTplItQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ab7DbNdFK/I=:pjr9Hq0l0ANd7eBryt88uX +wViORkOHHZ+2BqB70T3C5r92ugbl4hxdQIn6NTgDQbptz863OZbL9uj4uMAhsBg/7oVJyghf FYRsqNRZ/FoKLh9SbfA0l80NIqRtVqYAwBF9FhAJGXpAiO07GtawKCZl+dJxGrPqvtO9ZtPct 6HY68voHf5W8wn3gMjSqvlRF/ay71OZudjnirM+617yc1IUysBcTHsVYkTd29r3NBq75RGb8P GBE+XnX3k3xthch46rcWByP/WFk6+/uiZbPgy2l7Dp+AOewppGfDl+xuaHZX558rcQPlrBX06 1KyjY/W/Dt9nmdx7kvUUaGHGlOPRKy+D141PEt/69amATkbddMzPKV3E65Bs5LN7p0mC8VX0J prNG14W+K0Ngi3Bh3LYv7Lunr+qqAOWH5jDMLvyKjVyuy0w84eawJ2/mpSxJKe3y/3+PakC20 WF627EGYvoql0qoiZ3NnSBBmBCx7S8KL4BDzKK6ohCLLfJjdaJo6MeInmMmASke+m3GcrAS3k hWIJkBPfJuQz5ZNqaDPyst/zWgubFwtqvWePGNrSmsrJaaU0dfy04wCAc8aEXC7KwJCVqJL0w ub/hGjKIP+Rdk93C41HyYyHbuKVJstsR8hi4F+Gd31eW0Fs5T1Rl1rmR3M9ZHbbOdjtbN70eK DHx7Lveb3ZXAY3wy6ptjwKyFZI+7ta5h1T9WFZiRVnguyiEkSEKGWeR09uWI5o5sRvi8= X-Pg-Spam-Score: -2.0 (--) 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 8/6/15 12:49 PM, Kevin Grittner wrote: >> 2) If a WAL segment is in fact required for the backed up DB to >> > start, why would pg_basebackup not include those by default? To >> > not do so, doesn't create a backup file, just in this case, a >> > tarball that's worthless. > ... unless you are archiving the WAL to somewhere that it will be > kept long enough to be usable for such purposes. If you are (and I > highly recommend that you do so), including WAL in the base backup > is a waste of both bandwidth and storage space. This is arguably an artifact of the evolution of replication in PostgreSQL. You used to do tar backup + archiving, then you could switch to pg_basebackup + archiving, and nowadays you could switch to pg_basebackup without archiving, but the default behavior of pg_basebackup still caters to the old case. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin