Re: PITR Functional Design v2 for 7.5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at>
Cc: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PITR Functional Design v2 for 7.5
Date: 2004-03-11 06:57:39
Message-ID: 16806.1078988259@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at> writes:
> What I think is possible is the following (continuous backup of WAL assumed):
> - disable VACUUM
> - issue CHECKPOINT "C1"
> - backup all files
> - reenable VACUUM

> - restore files
> - adapt pg_control (checkpoint "C1")
> - recover WAL until at least end of backup

I do not understand this fixation on "disable VACUUM". What are you
thinking that will buy you? AFAICS it would make no difference.

> I am not sure about clog, isn't clog logged in xlog ?

Right. For the purposes of PITR, clog behaves the same as regular
data files. You gotta back it up, but a filesystem copy will be
inconsistent until fixed by WAL replay.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ramanujam H S Iyengar 2004-03-11 07:35:29 Re: How to get RelationName ??
Previous Message Tom Lane 2004-03-11 06:53:39 Re: PANIC on start