Re: Backup restore does not work - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: Backup restore does not work
Date
Msg-id 42099C35.7000503@commandprompt.com
Whole thread Raw
In response to Backup restore does not work  (Art Fore <art.fore@comcast.net>)
List pgsql-general
Art Fore wrote:

> Using PGadminIII, I backup my database on linux machine, and try to
> restore it on the windows machine. Alway comes up with duplicate key
> on the first item.  I drop all views and the only table in the
> database and try again. Still same thing. I do a refrresh, none of the
> views or table were dropped.
>
> What is the secret of backup-restore is pgadmin?

Well views are not what are going to cause the duplicate key. A
duplicate key error is
caused by a violation of a unique index or primary key.

Do you have duplicate data? Or perhaps a partially restored table structure?

Sincerely,

Joshua D. Drake


>
> Art
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL


Attachment

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: checking SQL statement/subexpression validity
Next
From: Antony Paul
Date:
Subject: create temp table and on commit in 7.3.3