Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 ?



pgsql-admin by date

Next:From: sandhyaDate: 2005-09-22 09:47:44
Subject: Reg: sql commands
Previous:From: Sidar López CruzDate: 2005-09-21 22:09:39
Subject: COPY

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group