pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Palle Girgensohn <girgen@pingpong.net>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-admin@postgresql.org
Cc: kudo@pingpong.net
Subject: Re: lost data, possible playback?
Date: Thu, 06 Dec 2007 17:45:57 +0100
Message-ID: <4B1BF9CA998264A329F566B6@rambutan.pingpong.net> (raw)
In-Reply-To: <dcc563d10712060841r29fe6addw65368349b152d9a7@mail.gmail.com>
References: <9FD29C9B828B9182011BDDF5@rambutan.pingpong.net>
	<dcc563d10712060841r29fe6addw65368349b152d9a7@mail.gmail.com>



--On torsdag, december 06, 2007 10.41.40 -0600 Scott Marlowe 
<scott.marlowe@gmail.com> wrote:

> On Dec 6, 2007 10:24 AM, Palle Girgensohn <girgen@pingpong.net> wrote:
>> Hi!
>>
>> A user accidentally deleted some results (i.e. tuples in a postgresql
>> database) created this morning.
>>
>> I have pg_xlog from about 9 o'clock until now. I have a pg_dump from ab
>> out 3 o'clock this morning.
>>
>> The results where created from about nine o'clock until noon, when the
>> user accidentally removed the results.
>>
>> Would it be possible to replay the WAL logs and get the results from
>> pg_xlog + the dump?
>
> No.
>
>> Or from a file system snapshot as of now (five pm) + pg_xlog?
>
> No.

So, I *must* have an image of the entire database, and I *must* have all 
WAL files since the image snapshot was taken?

/Palle




view thread (7+ messages)  latest in thread

Message-ID: <4B1BF9CA998264A329F566B6@rambutan.pingpong.net>
Permalink:  ../4B1BF9CA998264A329F566B6@rambutan.pingpong.net/
Also on:    postgresql.org/message-id/4B1BF9CA998264A329F566B6@rambutan.pingpong.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: girgen@pingpong.net, scott.marlowe@gmail.com, kudo@pingpong.net
  Subject: Re: lost data, possible playback?
  In-Reply-To: <4B1BF9CA998264A329F566B6@rambutan.pingpong.net>
  References: <9FD29C9B828B9182011BDDF5@rambutan.pingpong.net> <dcc563d10712060841r29fe6addw65368349b152d9a7@mail.gmail.com> <4B1BF9CA998264A329F566B6@rambutan.pingpong.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox