From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Ralf Tschiersch <ralf@net-service.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_log deleted - what to do?
Date: Sun, 1 Oct 2000 14:01:51 -0400 (EDT)
Message-ID: <200010011801.OAA09849@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.21.0010011952460.1031-100000@peter.localdomain>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, peter_e@gmx.net, ralf@net-service.de
Subject: Re: pg_log deleted - what to do?
In-Reply-To: <200010011801.OAA09849@candle.pha.pa.us>
References: <Pine.LNX.4.21.0010011952460.1031-100000@peter.localdomain> <200010011801.OAA09849@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox