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: Matthias Apitz <guru(at)unixarea(dot)de>
Cc: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>, 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 19:10:06
Message-ID: EF515133-B684-4577-A139-41A915E6C1FC@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Matthias,

> On 02. May, 2020, at 20:58, Matthias Apitz <guru(at)unixarea(dot)de> wrote:
> OK, lesson learned: Next time I will do a tar backup of PGDATA after
> the configuration of the cluster and before creating any database in it.

that tar would still contain too much. :-) You really only need the config files. All else is created by initdb.

Cheers,
Paul

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-05-02 19:19:48 Re: How to move a 11.4 cluster to another Linux host, but empty?
Previous Message Matthias Apitz 2020-05-02 18:58:23 Re: How to move a 11.4 cluster to another Linux host, but empty?