From: Robert Treat <xzilla@users.sourceforge.net>
To: pgsql-admin@postgresql.org
Cc: Rajesh Kumar Mallah <mallah@tradeindia.com>
Subject: Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
Date: Fri, 23 Sep 2005 19:49:23 -0400
Message-ID: <200509231949.23261.xzilla@users.sourceforge.net> (raw)
In-Reply-To: <433275EA.9000604@tradeindia.com>
References: <433275EA.9000604@tradeindia.com>
On Thursday 22 September 2005 05:14, Rajesh Kumar Mallah wrote:
> 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 ?
>
Assuming your version of pg_dump dumps binary data with an -Fc dump, then yes.
(Check the docs if you want to verify)
--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL
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: xzilla@users.sourceforge.net, mallah@tradeindia.com
Subject: Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
In-Reply-To: <200509231949.23261.xzilla@users.sourceforge.net>
References: <433275EA.9000604@tradeindia.com> <200509231949.23261.xzilla@users.sourceforge.net>
* 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