From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
---|---|
To: | Berislav Lopac <berislav(dot)lopac(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Restoring databases from a different installment on Windows |
Date: | 2006-05-30 20:52:21 |
Message-ID: | 20060530205221.GA18844@wolff.to |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, May 28, 2006 at 07:24:56 -0700,
Berislav Lopac <berislav(dot)lopac(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | Rafael Martinez | 2006-05-30 21:01:32 | Re: [GENERAL] 8.1.4 - problem with PITR - .backup.done / |
Previous Message | Martijn van Oosterhout | 2006-05-30 20:47:05 | Re: UTF-8 context of BYTEA datatype?? |