Re: recovery fail

From: Selena Deckelmann <selenamarie(at)gmail(dot)com>
To: Łukasz Bieniek <lukebieniek(at)interia(dot)pl>
Cc: pgsql-questions(at)postgresql(dot)org
Subject: Re: recovery fail
Date: 2010-08-25 19:01:00
Message-ID: AANLkTimv-GtDHQNeREfbUf__DFgw4m6LBcxK5NdYn6MF@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

2010/8/25 Łukasz Bieniek <lukebieniek(at)interia(dot)pl>:
> I'have made a backup my DB with pg_dump its (' pg_dump -U username dbname >backupfilename.sql.gz. When i want to restore it ( I drop the old database ,creaete new and language to it and i type a command 'cat backupfilename.sql.gz|gunzip|/usr/local/pgsql/bin/psql -U username dbname) this backup restore my all tables but its loses relations to some tables. and when it is restoring sysem send me messeges about missing relations . I think it is about order in this recovery data from backup. How to resolve this problem?
>

Try running psql with '-v "ON_ERROR_STOP=true"' so that you get the
first error. You may be having a problem with a dependency early in
the restore process.

-selena

--
http://chesnok.com/daily - me

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-08-25 19:01:46 Re: unexpected message type 0x58 during COPY from stdin
Previous Message Scott Marlowe 2010-08-25 18:57:07 Re: recovery fail