X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 17345D1B49B for ; Tue, 16 Dec 2003 05:56:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 81818-06 for ; Tue, 16 Dec 2003 01:55:48 -0400 (AST) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id B1913D1B494 for ; Tue, 16 Dec 2003 01:55:47 -0400 (AST) Received: (qmail 5710 invoked by uid 500); 16 Dec 2003 05:55:34 -0000 Date: Mon, 15 Dec 2003 23:55:34 -0600 From: Bruno Wolff III To: sachdev@dacafe.com Cc: pgsql-admin@postgresql.org Subject: Re: comparing with oracle Message-ID: <20031216055534.GA29292@wolff.to> Mail-Followup-To: sachdev@dacafe.com, pgsql-admin@postgresql.org References: <41877.203.145.179.2.1071547434.squirrel@cafemail0.ibsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41877.203.145.179.2.1071547434.squirrel@cafemail0.ibsystems.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/215 X-Sequence-Number: 11721 On Mon, Dec 15, 2003 at 20:03:54 -0800, sachdev@dacafe.com wrote: > Hi, > I was able to migrate the Oracle database to Postgres, including > functions, procedures. Thanks to ora2pg script and postgres documentation > on porting from oracle to Postgres. > > I have now two tuff task. We are running Oracle in stadby mode and apply > archive logs at remote place to maintain our DR site. Is there any way I > can generate archive logs.? You would need to look at one of the replication solutions. I don't know lot about them. > I need to know postgres datacrash recovery techniques also. If the > database crashes we have around 25Gb of data, is there any way apart from > restoring the full back up? It depends on what kind of crash. If the machine unexpectedly shutdown, then should be able to just start the server back up. If you lost a hard drive then you will need to restore from backup. Note that backing up the data directory while the postmaster is running will not give you a usable backup. You either need to use pg_dump or you need to do a backup while the postmaster is shutdown. There is no point in time recovery available at this time.