Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEOzS-0006Q2-Kf for pgsql-admin@arkaria.postgresql.org; Tue, 27 Aug 2013 19:31:47 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VEOzR-0006PK-Tk for pgsql-admin@arkaria.postgresql.org; Tue, 27 Aug 2013 19:31:45 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEOzR-0006PE-0u for pgsql-admin@postgresql.org; Tue, 27 Aug 2013 19:31:45 +0000 Received: from nm43-vm4.bullet.mail.bf1.yahoo.com ([216.109.114.223]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VEOzJ-0003Nw-IH for pgsql-admin@postgresql.org; Tue, 27 Aug 2013 19:31:44 +0000 Received: from [98.139.212.147] by nm43.bullet.mail.bf1.yahoo.com with NNFMP; 27 Aug 2013 19:31:35 -0000 Received: from [98.139.212.247] by tm4.bullet.mail.bf1.yahoo.com with NNFMP; 27 Aug 2013 19:31:35 -0000 Received: from [127.0.0.1] by omp1056.mail.bf1.yahoo.com with NNFMP; 27 Aug 2013 19:31:35 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 762763.85212.bm@omp1056.mail.bf1.yahoo.com Received: (qmail 15618 invoked by uid 60001); 27 Aug 2013 19:31:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1377631895; bh=8czLbvFyAnlLi8pJEnqmQiXZgE62v6vmBiN/vl0O8Z4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=r+WHFqe1dTVyQVjws2WH6LtLBEIt58PqjsQpnxt3kRzMLkre7enPCzKo36xPMwOCNBG2Sbbu+DZgKeDgZCtPC26P4MOMTRYWruD6ygZWkkafysH3UvauirWB6x3bX2Z7JHFMM65/lNwn99pxd3J/dE0EhWDwUO0AdlHkMdgqZuE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=scFcu8+SZR58RajK1+TgBbHhh5c5PD7cKZBsvGsAjfaBvN2vhYwdUYRFNEo4zJ4CJ3m4+4GMqv5TCH52UtOIxZe5+fQu9fbWGXlGV3KpzAwilm+bBjevAAeb6a7JfxCW/KabRAsC/IZTiW0fWHs2HFQLLx//FVlLzQdEXMFfLZk=; X-YMail-OSG: lV5ycPYVM1nrNYMrSqLkJ4YuUV6kmntRcBt_6k5RSE8f1IL hbrwgu66Y31uSlenz89EUFzGWz7NoSyNGX_FUDKUJKlzFSbprGxGrUcgUKkP dzy_Us2tzT8tsJbUGv_vm6nsE2O.88CWTjl3CiLnzKl6lN1jXwqmjOacsEXO noCMdPRKbI5CpOSJotFXpZgGMuG2ke45KNXwr6.LmAnnGk4N3.4WK7fKbNHb lwegC86hngJvhKwAQ4lH.PvLFE0nCy4f4jkv5QPYapCce6wWhYbgUg7VV8o2 R07oMMJfmv46vu0JYafVDIVLis9ungdAxr5mnh8duy._kR4ln_kX4ZNQSnSV 8IRbtBt5O6XXtUlaf6T8fDfuvtg8DGy3qz4JOL.vNtQZpXRX21Y6modi8zfA hmE_UeY0YfzxVEVCwKTtNH2MxFpSFNUxC8SNT7NEJF_rTzIO2bdoAElfn0yY .p05sCja4aLhmkTZ2R2D8.v_qw6xXEi96n4QvBTQsUFC6aGeBxukVRyM.SFb U9Hx6Z1MO1t1UBwp5j5l.2.u._sA4LQrKsxNRqp9afHVAtm2M4PT9VebgcDq DtW0IruBSQ4S7jvP0Nn3_F4_I3OD.GzrEr60RvtQe1xxX2oBiRMngW.r_bpA K2AAX Received: from [76.255.18.237] by web162901.mail.bf1.yahoo.com via HTTP; Tue, 27 Aug 2013 12:31:35 PDT X-Rocket-MIMEInfo: 002.001, UGF0cmljayBEdW5nIDxwYXRyaWNrX2RrdEB5YWhvby5jb20uaGs.IHdyb3RlOgo.IEFsYmUgTGF1cmVueiA8bGF1cmVuei5hbGJlQHdpZW4uZ3YuYXQ.Cj4.IFBhdHJpY2sgRHVuZyB3cm90ZToKCj4.PiBJdCBpcyBwb3NzaWJsZSB0aGF0IHRoZXJlIGlzIGZpbGUgY2hhbmdlcyAoYWRkZWQgb3IgZmlsZSBzaXplCj4.PiBjaGFuZ2VkKSBiZXR3ZWVuIHRoZSBwZ19zdGFydF9iYWNrdXAgYW5kIHBnX3N0b3BfYmFja3VwLgo.Pgo.PiBZZXMuCj4.Cj4.PiBJcyB0aGUgYmFja3VwIGNvbnNpc3RlbnQ_Cj4.Cj4.IFQBMAEBAQE- X-Mailer: YahooMailWebService/0.8.155.576 References: <1377186808.57546.YahooMailNeo@web193505.mail.sg3.yahoo.com> <1377494614.9111.YahooMailNeo@web193506.mail.sg3.yahoo.com> Message-ID: <1377631895.15061.YahooMailNeo@web162901.mail.bf1.yahoo.com> Date: Tue, 27 Aug 2013 12:31:35 -0700 (PDT) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: several questions about pg_dumpall, pg_start_backup, pg_basebackup and WAL To: Patrick Dung , Albe Laurenz , "pgsql-admin@postgresql.org" In-Reply-To: <1377494614.9111.YahooMailNeo@web193506.mail.sg3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.7 (/) 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 Patrick Dung wrote: > Albe Laurenz >> Patrick Dung wrote: >>> It is possible that there is file changes (added or file size >>> changed) between the pg_start_backup and pg_stop_backup. >> >> Yes. >> >>> Is the backup consistent? >> >> The tar or snapshot itself will not be consistent, it will have >> to be recovered at least until the end on the online backup. > > I should ask: is the backup crash consistent? PITR restore procedures will use the crash recovery mechanism to make the database consistent, if that's what you mean. > Which means it is consistent at the time that the pg_start_backup > is run. No.=A0 It will be consistent with the time that pg_stop_backup was run, or any later point in time that you choose, as long as you have WAL to that point in time. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin