Re: Backup / export DB

From: Vivek Khera <vivek(at)khera(dot)org>
To: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backup / export DB
Date: 2006-09-22 19:15:14
Message-ID: A96152A3-2B75-41B9-B1A1-FF6C307A4AA4@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Sep 22, 2006, at 3:04 AM, Matthias(dot)Pitzl(at)izb(dot)de wrote:

> If you're database contains foreign keys or similar, make sure to
> include OIDs into the database dump.

on what basis did you make up this advice?

i have no OID's anywhere and FK's work just fine.

when you set up the new server, be sure to re-create any users you
had on the old, and do the dump as the postgres superuser to ensure
everything gets copied. do the restore as the superuser too to
ensure all ownerships and permissions were as before as well.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2006-09-22 19:18:39 Re: Backup roles / users
Previous Message Vivek Khera 2006-09-22 19:12:20 Re: Backup Large Tables