pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Krishnamurthy Radhakrishnan <kradhak@cisco.com>
To: pgsql-admin@postgresql.org
Subject: Re: Dumping data using pg_dump after chrooting to a different partition
Date: Mon, 24 Oct 2011 17:17:41 -0500
Message-ID: <4EA59DB50200002500042527@gw.wicourts.gov> (raw)
In-Reply-To: <4EA5E253.6020600@cisco.com>
References: <4EA5E253.6020600@cisco.com>

Krishnamurthy Radhakrishnan <kradhak@cisco.com> wrote:
 
> pg_dump works before chrooting to the secondary partition. Can
> you please provide a way to dump the data after chrooting?
 
How about connecting through a TCP connection and piping directly
from pg_dump to psql?
 
Of course, these days you have the option of just using pg_upgrade
against the original or a deep copy of the data directory.
 
-Kevin



view thread (7+ messages)  latest in thread

Message-ID: <4EA59DB50200002500042527@gw.wicourts.gov>
Permalink:  ../4EA59DB50200002500042527@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4EA59DB50200002500042527@gw.wicourts.gov

 · 

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: Kevin.Grittner@wicourts.gov, kradhak@cisco.com
  Subject: Re: Dumping data using pg_dump after chrooting to a different partition
  In-Reply-To: <4EA59DB50200002500042527@gw.wicourts.gov>

* 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