pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Palle Girgensohn <girgen@pingpong.net>
To: 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 18:11:57 +0100
Message-ID: <85D0F2A88A4AA6956510A2AF@rambutan.pingpong.net> (raw)
In-Reply-To: <4B1BF9CA998264A329F566B6@rambutan.pingpong.net>
References: <9FD29C9B828B9182011BDDF5@rambutan.pingpong.net>
	<dcc563d10712060841r29fe6addw65368349b152d9a7@mail.gmail.com>
	<4B1BF9CA998264A329F566B6@rambutan.pingpong.net>



--On torsdag, december 06, 2007 17.45.57 +0100 Palle Girgensohn 
<girgen@pingpong.net> wrote:

>
>
> --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?

Is the real reason for the negative answer that there is a "hole" in the 
pg_xlogs from 3 am - 9 am?

Palle





view thread (7+ messages)  latest in thread

Message-ID: <85D0F2A88A4AA6956510A2AF@rambutan.pingpong.net>
Permalink:  ../85D0F2A88A4AA6956510A2AF@rambutan.pingpong.net/
Also on:    postgresql.org/message-id/85D0F2A88A4AA6956510A2AF@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 using the --to and --cc options:
  reply via email

  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: <85D0F2A88A4AA6956510A2AF@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