Received: from candle.pha.pa.us (pgman@nav-43.dsl.navpoint.com [162.33.245.46]) by hub.org (8.10.1/8.10.1) with ESMTP id e91I2Yp39625 for ; Sun, 1 Oct 2000 14:02:35 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id OAA09849; Sun, 1 Oct 2000 14:01:51 -0400 (EDT) From: Bruce Momjian Message-Id: <200010011801.OAA09849@candle.pha.pa.us> Subject: Re: pg_log deleted - what to do? In-Reply-To: "from Peter Eisentraut at Oct 1, 2000 07:54:08 pm" To: Peter Eisentraut Date: Sun, 1 Oct 2000 14:01:51 -0400 (EDT) CC: Ralf Tschiersch , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200010/5 Can the user rename the /data directory, do initdb, save the pg_log file, move the old /data back into place, add the new pg_log, and do a backup of his data? I thought this would work, but am not sure. > Ralf Tschiersch writes: > > > don't ask why, but what can I do if I have pg_log accidently deleted? How > > to recover? the postmaster starts, I can connect do databases, but neiter > > tables nor sequences are found! Postgres is 6.5.3 on linux 2.2.10. > > You have pretty much lost. Deleting pg_log is almost like deleting the > data itself. You make backups, don't you? > > -- > Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/ > > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026