Re: Backup and Restore

From: "Mendola Gaetano" <mendola(at)bigfoot(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Backup and Restore
Date: 2003-06-05 13:53:49
Message-ID: 004701c32b69$e48cd0a0$152aa8c0@GMENDOLA2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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" <daleedom(at)hightowergroup(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
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(at)postgresql(dot)org

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-06-05 13:59:45 Re: interpret vacuum verbose output
Previous Message David A. Leedom 2003-06-05 11:56:26 Backup and Restore