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

From: Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Is pgdump_all == pg_dumpall -g + pg_dump of individual databases ?
Date: 2005-09-22 12:26:01
Message-ID: a97c770305092205266269500b@mail.gmail.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 Kevin Keith 2005-09-22 13:27:00 Copy command not writing complete data to text file
Previous Message Stef 2005-09-22 10:54:27 Re: Reg: sql commands