Re: jumpstart - pgsql.v824 - Mailing list pgsql-admin

From Tom Lane
Subject Re: jumpstart - pgsql.v824
Date
Msg-id 29787.1194017101@sss.pgh.pa.us
Whole thread Raw
In response to jumpstart - pgsql.v824  (dx k9 <bitsandbytes88@hotmail.com>)
List pgsql-admin
dx k9 <bitsandbytes88@hotmail.com> writes:
> Is there any way to trick an instance into starting when you just have base, global, pg_clog, pg_mulitxact,
pg_subtrans,pg_tblspc, & pg_twophase, but no pg_xlog? 

pg_resetxlog would probably be enough to get it to start, but the odds
of having a non-corrupt database afterwards don't seem very good.

>  We weren't backing up the pg_xlog, because we didn't think we needed it, but the backup_label seems to need it.
Evenif we take the backup_label file out, and try to start postgres, it doesn't start. 

Have you read the manual's chapter on backup/restore?  There are several
documented ways to do things successfully, but inventing your own is not
likely to work.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Campbell, Lance"
Date:
Subject: pg_stat_all_indexes
Next
From: Tom Lane
Date:
Subject: Re: pg_stat_all_indexes