Re: PITR timeline question

From: Jim Nasby <jnasby(at)pervasive(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: PITR timeline question
Date: 2006-08-09 22:16:11
Message-ID: 9C749501-4E38-466E-B743-9A9B79EA2971@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Aug 3, 2006, at 3:01 PM, Tom Lane wrote:
> Jim Nasby <jnasby(at)pervasive(dot)com> writes:
>> If you're using multiple timelines with PITR, do you have to re-copy
>> all the data files into the cluster every time you start a new
>> timeline? Or can you copy the data files out of the backup once, and
>> then perform multiple recoveries, each to different timelines?
>
> The only way to "roll time backwards" is to replace the data directory
> with a backup, so if I understand your question correctly, the answer
> is no.

Well, specifically I was thinking of...

Roll PITR forward and start database
Do a bunch of stuff
Got more WAL files... start database back in recovery and roll
forward to end of new WAL files (throwing away everything that was
done previously).
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-08-09 22:22:03 Re: [GENERAL] WIN32 Build?
Previous Message Reece Hart 2006-08-09 22:13:25 Re: Tuning to speed select