Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?
Date: 2014-02-15 18:22:45
Message-ID: 52FFB075.4050906@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/15/2014 10:15 AM, Antman, Jason (CMG-Atlanta) wrote:
> I also asked this question on dba.stackexchange.com, where it received
> a very detailed enumeration of the associated problems from Craig Ringer:
> http://dba.stackexchange.com/questions/58896/restore-postgres-data-tablespace-to-new-tablespace-at-new-mount-point/58967?noredirect=1#58967
>
> Perhaps there's a postgres internals expert around, someone intimitely
> familiar with pg_xlog/pg_clog/pg_control, who can comment on whether
> it's possible to take the on-disk files from a single database in a
> single tablespace, and make them usable by a different postgres
> server, running multiple databases?

Craig's answer covers all the bases, quite accurately. Because you
don't like it, you think someone else is going to give you some magic to
make all that go away?

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Antman, Jason (CMG-Atlanta) 2014-02-15 18:31:38 Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?
Previous Message Tom Lane 2014-02-15 18:20:41 Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?