X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 2CEE4475A37 for ; Mon, 3 Feb 2003 14:14:09 -0500 (EST) Received: from localhost.localdomain (unknown [65.217.53.66]) by postgresql.org (Postfix) with ESMTP id 0D528475A1E for ; Mon, 3 Feb 2003 14:14:08 -0500 (EST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h13JbE6P002116; Mon, 3 Feb 2003 14:37:15 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id h13JE0j09793; Mon, 3 Feb 2003 14:14:02 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id CWVLC00D; Mon, 3 Feb 2003 14:13:59 -0500 Subject: Re: Question about backup/restore From: Robert Treat To: Nigel Bishop Cc: pgsql-admin@postgresql.org In-Reply-To: <8D206F73E2BE3E419EE87066E31F54EEEB30@intyoad01.uk.ioko365.com> References: <8D206F73E2BE3E419EE87066E31F54EEEB30@intyoad01.uk.ioko365.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 03 Feb 2003 14:14:00 -0500 Message-Id: <1044299640.6686.63.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/45 X-Sequence-Number: 7243 On Mon, 2003-02-03 at 10:39, Nigel Bishop wrote: > Could someone please advise: > > I'm new to Postgres (13 years Oracle DBA experience) and I'm trying to > understand the nature of Postgres backup/restores. > > An example: > > If I take a backup (via pg_dump) at 8pm on Wednesday and then on > Thursday at 10am I have some form of media failure, how do I roll the DB > forward from the backup to the point of failure. > > Can this be done? > There is no practical way to do this in postgresql right now. What your looking for is something reffered to as Point In Time Recovery, which should be available in 7.4. Since that doesn't help you now, the two things I can think of to get around this would be to get the PITR patch and try to apply it to 7.3 and get it to compile, or I think the Peer Direct Company has software that can do this type of feature. Good luck, Robert Treat