pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
4+ messages / 4 participants
[nested] [flat]

* Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
@ 2005-09-22 09:14  Rajesh Kumar Mallah <mallah@tradeindia.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Rajesh Kumar Mallah @ 2005-09-22 09:14 UTC (permalink / raw)
  To: pgsql-admin


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.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
@ 2005-09-22 12:26  Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Rajesh Kumar Mallah @ 2005-09-22 12:26 UTC (permalink / raw)
  To: pgsql-admin

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.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases
@ 2005-09-22 15:43  Hannes Dorbath <light@theendofthetunnel.de>
  parent: Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Hannes Dorbath @ 2005-09-22 15:43 UTC (permalink / raw)
  To: pgsql-admin

On 22.09.2005 14:26, Rajesh Kumar Mallah wrote:
> 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 ?

It always was sufficient for us in the past, we're doing exactly the same.

Best regards,
Hannes Dorbath



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
@ 2005-09-23 23:49  Robert Treat <xzilla@users.sourceforge.net>
  parent: Rajesh Kumar Mallah <mallah@tradeindia.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Robert Treat @ 2005-09-23 23:49 UTC (permalink / raw)
  To: pgsql-admin; +Cc: Rajesh Kumar Mallah <mallah@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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-09-23 23:49 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-22 09:14 Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ? Rajesh Kumar Mallah <mallah@tradeindia.com>
2005-09-23 23:49 ` Robert Treat <xzilla@users.sourceforge.net>
2005-09-22 12:26 Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ? Rajesh Kumar Mallah <mallah.rajesh@gmail.com>
2005-09-22 15:43 ` Re: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases Hannes Dorbath <light@theendofthetunnel.de>

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