Re: Recommended way to dump multi db cluster

From: Jan Lentfer <Jan(dot)Lentfer(at)web(dot)de>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Recommended way to dump multi db cluster
Date: 2013-08-08 09:22:16
Message-ID: 68789dc3e1832db337176278b094776a@neslonek.homeunix.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> On Thu, 08 Aug 2013 10:56:19 +0200, lst_hoe02(at)kwsoft(dot)de wrote:

>as of now we do a pg_dumpall on most of our PostgreSQL instances. This
>has some drawbacks when restore of only one of the databases is
>required, because from what i can see pg_restore is not able to limit
>the restore to one database?
>With pg_dump per database the problem will arise to backup user/roles
>and other central settings, so what is the recommended way to dump
>multi database instances?

use pg_dumpall for globals only (there is a command line switch for
that)
und use pg_dump (I use custom format, because it gives me most
flexibility
when restoring) for databases.

Regards,

Jan

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2013-08-09 01:36:35 Re: Clarification when using Continous Archiving in 8.4
Previous Message lst_hoe02 2013-08-08 08:56:19 Recommended way to dump multi db cluster