Re: Point in time recovery

From: Richard Huxton <dev(at)archonet(dot)com>
To: postgresql(at)troygeek(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Point in time recovery
Date: 2004-06-23 07:14:20
Message-ID: 40D92DCC.9000304@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

postgresql(at)troygeek(dot)com wrote:
> Hello,
>
> 1) I know that PostgreSQL writes its transactions to logs (WAL).
>
> If I take exports once a day (say 7am) and I have a client that somehow
> ruins their database at 5pm today and it is now 7pm, can I somehow get the
> database back to the state it was in at 4:59 (right before they blew up
> their database)?

Not yet. Point-in-time-recovery (PITR) looks like it will be in 7.5,
which will be entering beta testing fairly soon.

> 2) Where are the WAL files located?

Next to your data files in pg_xlog.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Ojea Castro 2004-06-23 07:54:22 Re: psql
Previous Message Kreißl, Karsten 2004-06-23 07:03:37 Re: User Privileges using dblink