Re: Facing error while restoring the database

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Facing error while restoring the database
Date: 2012-03-27 12:45:29
Message-ID: CAF-3MvNHz++mLvVcp9QG7DyY2s5r2n+R7XkPJYeOvATJdc9stQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 27 March 2012 11:33, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
> Hi
>
> I am facing issue while restoring the database. I have taken the backup of
> my database using pg_dump and then create new database and try to restore it
> using pg_restore. I am using PostgreSQL 9.0.

What is the error?

It looks like you are trying to use pg_restore on a plain text dump.
In that case, use psql to restore instead.

--
If you can't see the forest for the trees,
Cut the trees and you'll see there is no forest.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Akshay Joshi 2012-03-27 13:12:51 Re: Facing error while restoring the database
Previous Message Janning Vygen 2012-03-27 09:47:10 PANIC: corrupted item pointer