Re: Recovering db from cracked server - Mailing list pgsql-general

From Don Doumakes
Subject Re: Recovering db from cracked server
Date
Msg-id 1109189060.534159.115560@l41g2000cwc.googlegroups.com
Whole thread Raw
In response to Re: Recovering db from cracked server  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Richard Huxton wrote:

> You're close - the only thing it was complaining about was the
missing
> "postgres" database. That's because it defaults to using the same
> database as the username. Try
>    postgres -D copy_of_old_data_dir template1
>
> Or use the name of your old database.

Woohoo!  Thanks a million; I've got my data back.

Don Doumakes
Email: doumakes at loganet.net
Do not reply to spamtrap@pinko.net


pgsql-general by date:

Previous
From: Jared Carr
Date:
Subject: Tracking down cause of duplicated oid in table.
Next
From: Vivek Khera
Date:
Subject: Re: Ways to speed up dump&reload