pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah <mallah@tradeindia.com>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
Date: Thu, 22 Sep 2005 14:44:18 +0530
Message-ID: <433275EA.9000604@tradeindia.com> (raw)


Hi ,

I suppose pgdump_all creates a SQL script
that is capable of recreating the entire database
except for large_objects.

However pgdump_all produces one single large
SQL files and is not useful(easy) if  one has to restore
a particular table.

For this reason we backup our databases individually
using custom format and use pg_restore to restore
individual objects as when required.

My doubt is are the individual database backup files
created through -Fc  options along with an SQL file
created using "pgdump_all -g " sufficient to recreate
the entire database ?

Regds
Mallah.



view thread (4+ messages)  latest in thread

Message-ID: <433275EA.9000604@tradeindia.com>
Permalink:  ../433275EA.9000604@tradeindia.com/
Also on:    postgresql.org/message-id/433275EA.9000604@tradeindia.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah@tradeindia.com
  Subject: Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
  In-Reply-To: <433275EA.9000604@tradeindia.com>
  References: <433275EA.9000604@tradeindia.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox