Re: Full backup - pg_dumpall sufficient? - Mailing list pgsql-general

From Tom Lane
Subject Re: Full backup - pg_dumpall sufficient?
Date
Msg-id 14505.1233276868@sss.pgh.pa.us
Whole thread Raw
In response to Re: Full backup - pg_dumpall sufficient?  (Jeff Frost <jeff@frostconsultingllc.com>)
Responses Re: Full backup - pg_dumpall sufficient?  (Jeff Frost <jeff@frostconsultingllc.com>)
List pgsql-general
Jeff Frost <jeff@frostconsultingllc.com> writes:
> Tom one thing I noticed recently is that pg_dumpall --globals doesn't
> seem to pick up when you alter the GUCs at the database level and
> neither does pg_dump.  How should you dump to grab that per-database
> stuff?

Regular pg_dumpall will catch that.

There's been some previous discussion about redrawing the dividing lines
so that this doesn't fall between the cracks when you try to use
--globals plus per-database pg_dump, but AFAIR nothing's been done about
it yet.  It's a bit tricky since it's not entirely clear who's
responsible for creating the individual databases when you restore in
that scenario.

            regards, tom lane

pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: Pet Peeves?
Next
From: Jeff Frost
Date:
Subject: Re: Full backup - pg_dumpall sufficient?