Re: How to move a 11.4 cluster to another Linux host, but empty?

From: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Matthias Apitz <guru(at)unixarea(dot)de>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?
Date: 2020-05-02 15:02:17
Message-ID: A388CD9F-D65E-4124-AFCE-4305C481F10B@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Adrian,

> On 02. May, 2020, at 16:59, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> wrote:
> 2) To create a new base/ you will need to initdb data/ and that is not possible as initdb will not work on a populated data/.

you do the initdb and then copy the *.conf files from the tar over the newly created ones. After that, launch the cluster.

Cheers,
Paul

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-05-02 15:23:52 Re: How to move a 11.4 cluster to another Linux host, but empty?
Previous Message Adrian Klaver 2020-05-02 14:59:50 Re: How to move a 11.4 cluster to another Linux host, but empty?