Re: DB Backup / Restore with PG Admin 2?

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Jeff Rhys-Jones" <jeff(at)emojo(dot)com>, <pgadmin-support(at)postgresql(dot)org>
Subject: Re: DB Backup / Restore with PG Admin 2?
Date: 2002-06-27 19:28:05
Message-ID: D85C66DA59BA044EB96AB9683819CF6101511B@dogbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: Jeff Rhys-Jones [mailto:jeff(at)emojo(dot)com]
> Sent: 27 June 2002 17:36
> To: pgadmin-support-owner(at)postgresql(dot)org
> Subject: DB Backup / Restore with PG Admin 2?
>
>
> Hi There,
>
> Sorry if this has been asked before, but what is the
> recommended way of backing up and restoring databases with PGAdmin?
>
> Does the DB Schema copy everything? Can I then fully restore
> a database from this schema?

Backing up & restoring databases is *not* a job pgAdmin should be used
for. The DB Schema dumps are there as a convenience when hacking designs
about, however there may be errors in the code it generates because most
of it is reverse-engineered from the system catalogues and I may have
got something wrong.

Perform your backups using pg_dump or pg_dumpall on the server. They are
designed to dump the database *exactly* as it should be.

Regards, Dave

Browse pgadmin-support by date

  From Date Subject
Next Message liping guo 2002-07-01 21:45:06 Replication
Previous Message Allan Lemos 2002-06-27 11:35:16 Re: Delphi x Postgresql