Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9850F2E2E56 for ; Wed, 16 Jan 2008 03:11:18 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 06098-07 for ; Wed, 16 Jan 2008 03:11:09 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 850712E2D3A for ; Wed, 16 Jan 2008 03:11:11 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id m0G7B8OI019156; Wed, 16 Jan 2008 02:11:08 -0500 (EST) To: "Joshua D. Drake" cc: Brian Modra , pgsql-admin@postgresql.org Subject: Re: Backup of live database In-reply-to: <478DAC1D.3010909@commandprompt.com> References: <5a9699850801152257g6ee9513i6c4fc88a5f20a785@mail.gmail.com> <478DAC1D.3010909@commandprompt.com> Comments: In-reply-to "Joshua D. Drake" message dated "Tue, 15 Jan 2008 23:02:53 -0800" Date: Wed, 16 Jan 2008 02:11:08 -0500 Message-ID: <19155.1200467468@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/175 X-Sequence-Number: 27949 "Joshua D. Drake" writes: > Brian Modra wrote: >> If tar reports that a file was modified while it was being archived, >> does that mean that the file was archived correctly, or is it corrupted >> in the archive? > You can not use tar to backup postgresql if it is running. You can use it for a PITR base backup --- WAL replay will fix any inconsistencies. In that context it's just annoying that some tar versions complain about this. > http://www.postgresql.org/docs/8.2/static/backup.html Yah. Note that sections 23.2 and 23.3.32 are talking about entirely different scenarios. In the former case such a warning is scary, in the latter not. regards, tom lane