Re: Restore DataBase - Mailing list pgsql-admin

From Eric McKeeth
Subject Re: Restore DataBase
Date
Msg-id AANLkTil2X1H2gpypknXTmXBLVdhrudXWndLwUoyS35e0@mail.gmail.com
Whole thread Raw
In response to Restore DataBase  (ALEXANDER JOSE <aangelj@hotmail.com>)
List pgsql-admin
On Tue, Jun 1, 2010 at 9:26 PM, ALEXANDER JOSE <aangelj@hotmail.com> wrote:
psql coon I'm trying to restore a database that has 60 GB in size, where there is a table with 38 million records, has raised 18 million records when the restore process fails on a syntax error, the backup was made with a file. sql as the best way I can do to restore??


It will be easier for people to help if you provide more info such as postgres version, OS, how the backup was made, exact error message, etc. But, if you're getting a syntax error, then my best guess would be that either that you have a corrupt/incomplete backup, or that you're trying to restore to a different version of postgres than you used to make the backup, and the backup has syntax which would be valid for the version that made it, but not for the version you're trying to restore to.

-Eric

pgsql-admin by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: pitrtools package wrong dependency (binary packages)
Next
From: Vasiliy G Tolstov
Date:
Subject: graceful reload