Обсуждение: Backup restore does not work

Поиск
Список
Период
Сортировка

Backup restore does not work

От
Art Fore
Дата:
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?

Art

Re: Backup restore does not work

От
"Joshua D. Drake"
Дата:
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


Вложения