pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: timalou2@netcourrier.com
To: pgsql-admin@postgresql.org
Subject: Restore a backup into a new schema
Date: Fri, 13 Jun 2008 11:33:08 +0200
Message-ID: <mnet1.1213349588.23549.timalou2@netcourrier.com> (raw)

Hi,

Is it possible to restore a backup schema to another schema ?

For instance I create a backup of a database called "source" with its public schema with pg_backup

I want to restore this backup in a database called "dest" into a new schema called public2 

Thanks a lot for your reply,

Thierry




view thread (2+ messages)  latest in thread

Message-ID: <mnet1.1213349588.23549.timalou2@netcourrier.com>
Permalink:  ../mnet1.1213349588.23549.timalou2@netcourrier.com/
Also on:    postgresql.org/message-id/mnet1.1213349588.23549.timalou2@netcourrier.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: timalou2@netcourrier.com
  Subject: Re: Restore a backup into a new schema
  In-Reply-To: <mnet1.1213349588.23549.timalou2@netcourrier.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox