Re: Backup restore does not work

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Art Fore <art(dot)fore(at)comcast(dot)net>
Cc: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backup restore does not work
Date: 2005-02-09 05:14:29
Message-ID: 42099C35.7000503@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)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(at)commandprompt(dot)com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL

Attachment Content-Type Size
jd.vcf text/x-vcard 285 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Antony Paul 2005-02-09 05:18:14 create temp table and on commit in 7.3.3
Previous Message Tom Lane 2005-02-09 05:11:15 Re: checking SQL statement/subexpression validity