Re: Point in Time Recovery

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>
Cc: Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Point in Time Recovery
Date: 2004-07-30 16:12:18
Message-ID: 200407301612.i6UGCIs20526@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zeugswetter Andreas SB SD wrote:
>
> > > I was wondering about this point - might it not be just as reasonable
> > > for the copied file to *be* an exact image of pg_control? Then a very
> > > simple variant of pg_controldata (or maybe even just adding switches to
> > > pg_controldata itself) would enable the relevant info to be extracted
> >
> > We didn't do that so admins could easily read the file contents.
>
> If you use a readable file you will also need a feature for restore (or a tool)
> to create an appropriate pg_control file, or are you intending to still require
> that pg_control be the first file backed up.
> Another possibility would be that the start function writes the readable file and
> also copies pg_control.

We will back up pg_control in the tar file but it doesn't have to have
all correct information. The WAL replay will set it properly I think.
In fact it has to start recovery checkpoint settings, not the backup
setting at all.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-07-30 16:41:25 Re: pgxs: build infrastructure for extensions v4
Previous Message LISTMAN 2004-07-30 13:33:05 Where does the xlateSqlType symbol point to?