Received: from phoenix.nanospace.com (phoenix.nanospace.com [209.213.199.19]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f0FJIU097218 for ; Mon, 15 Jan 2001 14:18:30 -0500 (EST) (envelope-from dalgoda@ix.netcom.com) Received: (qmail 17083 invoked from network); 15 Jan 2001 19:18:29 -0000 Received: from workstation-209-213-222-98.yy.com (HELO thune.mrc-home.org) (209.213.222.98) by phoenix.nanospace.com with SMTP; 15 Jan 2001 19:18:29 -0000 Received: by thune.mrc-home.org (8.10.0) id f0FJIQT01414; Mon, 15 Jan 2001 11:18:26 -0800 Date: Mon, 15 Jan 2001 11:18:26 -0800 From: Mike Castle To: pgsql-admin@postgresql.org Subject: Re: BAcking up a Postgres Database Message-ID: <20010115111826.A1365@thune.yy.com> Reply-To: Mike Castle Mail-Followup-To: Mike Castle , pgsql-admin@postgresql.org References: <3A5C4E21.7EE0C88@home.com> <20010111090336.A21679@vestdata.no> <3A5DC9D6.6F3A32E0@kc.rr.com> <20010114172905.B3604@thune.yy.com> <3A62F5E1.1AB3AB3A@kc.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <3A62F5E1.1AB3AB3A@kc.rr.com>; from twhite26@kc.rr.com on Mon, Jan 15, 2001 at 07:06:41AM -0600 X-Archive-Number: 200101/84 X-Sequence-Number: 457 On Mon, Jan 15, 2001 at 07:06:41AM -0600, Tim White wrote: > Yes, you do restore the archive logs from some backup medium. But I don't > understand you point, the discussion relates to transaction logging, meaning > that as dml statements are executed and committed they are logged, thus making > it possible to re-apply them. To my knowledge Postgres does not do > transaction logging, this makes it nearly impossible to do point of failure > recovery without doing a pg_dump after every transaction, which is rather > impractical. Then perhaps it's a lack of understanding on my point. Define "point of failure recovery." I'm imagining something like a system crash of some sort (maybe an internal database error and the database is corrupted somehow). So you reinstall the latest back up. Then you apply the transaction log. Is that what you're saying? Well, if the system crashed, how can you guarantee the integrity of the transaction log in order the forward apply it? If the database system crashed due to an internal error, and corrupted the database files, how do you know the transaction log wasn't corrupted? If the OS crashed, and corrupted the database, how do you know the transaction log wasn't corrupted? The only time I could see how you could guarantee that a transaction log was not corrupt was if it's on a separate physical media and you had a media issue. Wish can largely be overcome with using something like RAID anyway. Can you give me a scenario where you a transaction log is actually useful and you can guarantee it is not corrupt? mrc -- Mike Castle Life is like a clock: You can work constantly dalgoda@ix.netcom.com and be right all the time, or not work at all www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen