X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 68C5FEFF72 for ; Thu, 5 Jun 2003 13:54:02 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 84614-08 for ; Thu, 5 Jun 2003 13:54:01 +0000 (GMT) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 462F3EFF6D for ; Thu, 5 Jun 2003 13:54:00 +0000 (GMT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id h55Csjq17637 for ; Thu, 5 Jun 2003 14:54:46 +0200 Received: from GMENDOLA2 (gmendola2.mm.eutelsat.org [194.214.173.26]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with SMTP id h55DrrR24252 for ; Thu, 5 Jun 2003 15:53:53 +0200 Message-ID: <004701c32b69$e48cd0a0$152aa8c0@GMENDOLA2> From: "Mendola Gaetano" To: References: <5.2.0.9.0.20030605075052.028d9888@mail.hightowergroup.com> Subject: Re: Backup and Restore Date: Thu, 5 Jun 2003 15:53:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Archive-Number: 200306/30 X-Sequence-Number: 9021 This is a well known issue, you can change Postgress version to 7.3.3 and the pg_dump on that version is more smart. Gaetano ----- Original Message ----- From: "David A. Leedom" To: Sent: Thursday, June 05, 2003 1:56 PM Subject: [ADMIN] Backup and Restore I am using 7.2.x. When I run pg_dump on a database the objects are not loaded in the correct dependency order. Soooo.... when I run pg_restore it fails because objects that are needed have not been restored yet (ie. trieds to restore a view that points to a table that has not yet been restored). I then monkey around with the Table of Contents (TOC) and am able to get the restore to work. In the middle of a disaster I don't want to have to mess to the TOC. What are others doing who are running into this situation. Thanks, Dave Leedom The Hightower Group, Inc. Information Technology Consulting 165 West Airport Road/Lititz, PA 17543 V:717-560-4002, 877-560-4002 x: 114 F:717-560-2825 www.hightowergroup.com ---------------------------------------------------------------------------- ---- > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003 > ---------------------------------------------------------------------------- ---- ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org