Re: Independent backups of subdatabases

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Independent backups of subdatabases
Date: 2013-01-16 05:16:12
Message-ID: 50F6379C.2090002@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/15/2013 9:02 PM, Robert James wrote:
> I would do this as actual databases, but Postgres doesn't allow JOINs
> and FKs between different databases. Can I use schema for the above?
> How? How do I backup and restore schema independently?

pg_dump --schema= ...

and drop schema, create schema prior to a restore of a given schema

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tatsuo Ishii 2013-01-16 06:54:13 Re: [pgpool-general: 1315] Re: Database connections seemingly hanging
Previous Message Robert James 2013-01-16 05:02:52 Independent backups of subdatabases