Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id A15A09FA238; Fri, 29 Dec 2006 15:27:33 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 93045-10; Fri, 29 Dec 2006 15:27:26 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from pd2mo3so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by postgresql.org (Postfix) with ESMTP id 8452C9FA217; Fri, 29 Dec 2006 15:27:26 -0400 (AST) Received: from pd4mr8so.prod.shaw.ca (pd4mr8so-qfe3.prod.shaw.ca [10.0.141.101]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JB100333VDQRX40@l-daemon>; Fri, 29 Dec 2006 12:27:26 -0700 (MST) Received: from pn2ml10so.prod.shaw.ca ([10.0.121.80]) by pd4mr8so.prod.shaw.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0JB100831VDP3AI0@pd4mr8so.prod.shaw.ca>; Fri, 29 Dec 2006 12:27:26 -0700 (MST) Received: from owner ([24.70.144.142]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with SMTP id <0JB10031KVDPDVE1@l-daemon>; Fri, 29 Dec 2006 12:27:25 -0700 (MST) Date: Fri, 29 Dec 2006 11:26:52 -0800 From: Bob Pawley Subject: Re: Backup Restore To: Dave Page Cc: Shoaib Mir , Postgresql Message-id: <001901c72b7f$5a5e29f0$8e904618@owner> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Mailer: Microsoft Outlook Express 6.00.2900.3028 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal References: <000e01c72ab1$ceec0220$8e904618@owner> <45941B3B.8060708@postgresql.org> <002601c72ab8$97bc5640$8e904618@owner> <459423C1.70009@postgresql.org> <006001c72aec$2789cfe0$8e904618@owner> <4594CD6D.1050104@postgresql.org> <001001c72b7a$ba2e7600$8e904618@owner> <4595650F.7000504@postgresql.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/1567 X-Sequence-Number: 106505 Following is the error message on pg_restore:- "pg_restore: ERROR: duplicate key violates unique constraint "spatial_ref_sys_pkey" CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." pg_restore: [archiver (db)] error returned by PQendcopy: ERROR: duplicate key violates unique constraint "spatial_ref_sys_pkey" CONTEXT: COPY spatial_ref_sys, line 1: "2000 EPSG 2000 PROJCS["Anguilla 1957 / British West Indies Grid",GEOGCS["Anguilla 1957",DATUM["Angui..." pg_restore: *** aborted because of error Process returned exit code 1." The GIS feature was removed from the PostgreSQL application before the project dump. Anyone have any thoughts on how to get around this?? Bob ----- Original Message ----- From: "Dave Page" To: "Bob Pawley" Cc: "Shoaib Mir" ; "Postgresql" Sent: Friday, December 29, 2006 10:57 AM Subject: Re: [GENERAL] Backup Restore > Bob Pawley wrote: >> Hi Dave >> >> I can get the restore working if I dump the project spelling out >> "*.backup" and not relying on the default. >> >> However the restore is being aborted due to a pk error for the spatial >> coordinates. I've removed the gis feature from both applications but >> still get the error. >> >> Any thoughts?? > > Nope, someone else will need to help with that I'm afraid. The exact error > message would make it infinitely easier to help you though. > > Regards, Dave >