Re: Point in Time Recovery

From: Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Point in Time Recovery
Date: 2004-07-15 23:13:20
Message-ID: 40F70F90.4050607@coretech.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers pgsql-patches

Simon Riggs wrote:

>
>First, thanks for sticking with it to test this.
>
>I've not received such a message myself - this is interesting.
>
>Is it possible to copy that directory to one side and re-run the test?
>Add another parameter in postgresql.conf called "archive_debug = true"
>Does it happen identically the second time?
>
>
>
Yes, identical results - I re-initdb'ed and ran the process again,
rather than reuse the files.

>What time difference was there between steps 5 and 6? I think I can here
>Andreas saying "told you".... I'm thinking the backup might be somehow
>corrupted because the checkpoint occurred during the backup. Hmmm...
>
>
>
I was wondering about this, so left a bit more time in between, and
forced a sync as well for good measure.

5) $ psql -d test -c "checkpoint"; sleep 30;sync;sleep 30
6) $ tar -zcvf /data1/dump/pgdata-7.5.tar.gz *

>
>Thanks, Simon Riggs
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mark Kirkwood 2004-07-15 23:46:54 Re: Point in Time Recovery
Previous Message Alvaro Herrera 2004-07-15 23:01:33 Re: Point in Time Recovery

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-07-15 23:17:07 Re: Point in Time Recovery
Previous Message Alvaro Herrera 2004-07-15 23:12:30 Re: Note about robustness of transaction-related data structures

Browse pgsql-patches by date

  From Date Subject
Next Message Mark Kirkwood 2004-07-15 23:46:54 Re: Point in Time Recovery
Previous Message Alvaro Herrera 2004-07-15 23:01:33 Re: Point in Time Recovery