Re: PITR: in use WAL file question

From: Sean Chittenden <sean(at)chittenden(dot)org>
To: Jeff Frost <jeff(at)frostconsultingllc(dot)com>
Cc: sfpug(at)postgresql(dot)org
Subject: Re: PITR: in use WAL file question
Date: 2005-05-10 15:14:12
Message-ID: d141e31b0efe8fb3a24b54b345811357@chittenden.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug

> Can I just grab the latest WAL in use WAL file and rsync it off
> somewhere so that when I need to do a PITR restore, I have it
> available to put back into the pg_xlog directory such that I don't
> lose too much data? The DB I'm looking at using PITR for restores
> only rolls over WAL files about once every 5-6 hours and that seems
> like quite a bit of time to lose if we need to do a restore.

If you WAL log turnover is that low, you should consider periodically
using CHECKPOINT instead of PITR.

http://developer.postgresql.org/docs/postgres/sql-checkpoint.html

-sc

--
Sean Chittenden

In response to

Responses

Browse sfpug by date

  From Date Subject
Next Message Sean Chittenden 2005-05-10 15:18:50 Re: need RSVPs for Wednesday meeting
Previous Message Steven Ericsson-Zenith 2005-05-10 01:10:04 Re: Stanford mulit-machine PG?