pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: dx k9 <bitsandbytes88@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: jumpstart - pgsql.v824
Date: Fri, 02 Nov 2007 11:25:01 -0400
Message-ID: <29787.1194017101@sss.pgh.pa.us> (raw)
In-Reply-To: <BAY116-W3375AA4C7AD7EC4B3B0FC1D18D0@phx.gbl>
References: <BAY116-W3375AA4C7AD7EC4B3B0FC1D18D0@phx.gbl>

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.  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



view thread (3+ messages)

Message-ID: <29787.1194017101@sss.pgh.pa.us>
Permalink:  ../29787.1194017101@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29787.1194017101@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bitsandbytes88@hotmail.com
  Subject: Re: jumpstart - pgsql.v824
  In-Reply-To: <29787.1194017101@sss.pgh.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