okay so i deleted pg_log ..... - Mailing list pgsql-general

From Steve Brett
Subject okay so i deleted pg_log .....
Date
Msg-id C05E7DA1218ED411BF8A00105AC95A8E05B586E5@sv-cntrmail.emis.local
Whole thread Raw
Responses Re: okay so i deleted pg_log .....
List pgsql-general
indeed i did.

the database had run from 18 months with zero downtime and i (stupidly)
mistook pg_log for the log file and truncated it.

after the initial panic and frantic phonecals around the company we decided
to upgrade to 7.2 and restore from a backup (thankfully we only lost 30 mins
of data and it was around lunchtime so we were ok).

anyways, the question is thus.

is there any way to restore pg_log and is this file a file we should
consider backing up ?

currently i have a cron job that does a pg_dump every 4 hours and the files
are then copied to a remote windoze box that backs up to tape.

also, is there a way to restore or rebuild pg_log ?

many thanks,


Steve Brett



pgsql-general by date:

Previous
From: "Sam Liddicott"
Date:
Subject: Re: 7.2.1 optimises very badly against 7.2
Next
From: Curt Sampson
Date:
Subject: Re: 7.2.1 optimises very badly against 7.2