Re: Recovering a deleted database problem

From: "Andy Shellam (Mailing Lists)" <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Recovering a deleted database problem
Date: 2007-01-05 18:44:58
Message-ID: 459E9CAA.5090800@mailnetwork.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


> Well, I'd be a little worried about whether the base backup was
> self-consistent, but if it was taken at a time where the DB was idle
> then you can probably get away with this.
>

It gets backed up at 2am in the morning and AFAIK there'd be very few
(if any) transactions going through until about 5am, so it should be OK.
> AFAIK the only operations that have non-rollbackable side effects are
> CREATE/DROP DATABASE and CREATE/DROP TABLESPACE. For any of these,
> you'd end up with inconsistent state if you try to stop replay just
> before the commit record.
>

OK thanks for that Tom, after glancing through the online documentation,
I've enabled logging of checkpoints etc. by setting "log_min_messages"
to "log" - is this enough to log the times that transactions are
committed, so I can find this info should I need it again in the future?

Thanks,

--
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andy Shellam (Mailing Lists) 2007-01-05 18:52:14 Re: Can't See Data - Plz Help!
Previous Message Arnau 2007-01-05 16:32:03 Problems restoring big tables