Re: jumpstart - pgsql.v824

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dx k9 <bitsandbytes88(at)hotmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: jumpstart - pgsql.v824
Date: 2007-11-02 15:25:01
Message-ID: 29787.1194017101@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

dx k9 <bitsandbytes88(at)hotmail(dot)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. Even if 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2007-11-02 15:26:50 Re: pg_stat_all_indexes
Previous Message Campbell, Lance 2007-11-02 15:17:00 pg_stat_all_indexes