| From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
|---|---|
| To: | Paul Förster <paul(dot)foerster(at)gmail(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:23:52 |
| Message-ID: | 84cd86a4-6757-2ae0-74bd-e36e86ee0c45@aklaver.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On 5/2/20 8:02 AM, Paul Förster wrote:
> 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.
Yeah I know, I do that on a fairly regular basis. The intent was to let
the OP know that ripping base/ out of cluster and transplanting a new
one in is not possible.
>
> Cheers,
> Paul
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2020-05-02 15:26:54 | Re: Checking for Presence of Required Libraries Fails during PostgreSQL Upgrade |
| Previous Message | Paul Förster | 2020-05-02 15:02:17 | Re: How to move a 11.4 cluster to another Linux host, but empty? |