Re: How to recover my postgres database ?

From: Pierre Couderc <pierre(at)couderc(dot)eu>
To: "Hunley, Douglas" <douglas(dot)hunley(at)openscg(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to recover my postgres database ?
Date: 2017-05-11 17:15:56
Message-ID: 7163d4f6-35b4-ddfa-d374-7a2fbb1b8315@couderc.eu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/11/2017 07:07 PM, Hunley, Douglas wrote:
>
> On Thu, May 11, 2017 at 11:53 AM, Pierre Couderc <pierre(at)couderc(dot)eu
> <mailto:pierre(at)couderc(dot)eu>> wrote:
>
> How can I safely repair, knowing that I have the pg_dumpall of
> last night, but many dbs have changed today... ?
>
>
> If pg_dumpall is your only backup mechanism then you've lost all
> changes after the dump was taken. You'll need to restore from that
> backup and then get pgbackrest (or another equivalent tool) up and
> running to protect yourself going forward
>
Mmm, there is some misunderstanding. I have lost nothing.
All my DBs are ok.
I am speaking of the specific "postgres" database that you connect to with
\c postgres
What is its use ? how to restore it ?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John McKown 2017-05-11 17:17:24 Re: Top posting....
Previous Message John R Pierce 2017-05-11 17:10:35 Re: How to recover my postgres database ?