Re: Point in Time Recovery

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Point in Time Recovery
Date: 2004-07-13 23:01:41
Message-ID: 200407132301.i6DN1fb16205@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers pgsql-patches

Tom Lane wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> > So the situation is:
> > - You must only stop recovery at a point in time (in the logs) after the
> > backup had completed.
>
> Right.
>
> > No way to enforce that currently, apart from procedurally. Not exactly
> > frequent, so I think I just document that and move on, eh?
>
> The procedure that generates a backup has got to be responsible for
> recording both the start and stop times. If it does not do so then
> it's fatally flawed. (Note also that you had better be careful to get
> the time as seen on the server machine's clock ... this could be a nasty
> gotcha if the backup is run on a different machine, such as an NFS
> server.)

OK, but procedurally, how do you correlate the start/stop time of the
tar backup with the WAL numeric file names?

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2004-07-13 23:13:37 Re: [HACKERS] Point in Time Recovery
Previous Message Tom Lane 2004-07-13 22:56:31 Re: Point in Time Recovery

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-13 23:13:30 Re: serverlog rotation/functions
Previous Message Bruce Momjian 2004-07-13 23:00:11 Re: [HACKERS] Is "trust" really a good default?

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-07-13 23:13:30 Re: serverlog rotation/functions
Previous Message Bruce Momjian 2004-07-13 23:00:11 Re: [HACKERS] Is "trust" really a good default?