Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?

From: Rajesh Kumar Mallah <mallah(at)tradeindia(dot)com>
To: Postgres Admin List <pgsql-admin(at)postgresql(dot)org>
Subject: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
Date: 2005-09-22 09:14:18
Message-ID: 433275EA.9000604@tradeindia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message sandhya 2005-09-22 09:47:44 Reg: sql commands
Previous Message Sidar López Cruz 2005-09-21 22:09:39 COPY