Re: Restoring databases from a different installment on Windows - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: Restoring databases from a different installment on Windows
Date
Msg-id 20060530205221.GA18844@wolff.to
Whole thread Raw
In response to Restoring databases from a different installment on Windows  ("Berislav Lopac" <berislav.lopac@gmail.com>)
List pgsql-general
On Sun, May 28, 2006 at 07:24:56 -0700,
  Berislav Lopac <berislav.lopac@gmail.com> wrote:
> I have recently reinstalled my Windows mychine, including the
> PostgreSQL server, but (due to a system crash, unrelated to Postgres) I
> wasn't able to dump my databases to import them now. However, I have a
> full copy of the original system, including all the files of the
> original Postgres installation.
>
> Is there a way to restore the databases from the original installation
> into the new one? For example, in MySQL I would be able to just copy
> the data files; is there something similar in Postgres?

Yes it should work. There should be a recovery if postgres was running when
the boc crashed.
Note, you don't want to copy files out from under a running server to do
backups. That won't work.

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: UTF-8 context of BYTEA datatype??
Next
From: Thomas Kellerer
Date:
Subject: Re: Best open source tool for database design / ERDs?