Re: How to move a 11.4 cluster to another Linux host, but empty? - Mailing list pgsql-general

From Paul Förster
Subject Re: How to move a 11.4 cluster to another Linux host, but empty?
Date
Msg-id EF515133-B684-4577-A139-41A915E6C1FC@gmail.com
Whole thread Raw
In response to Re: How to move a 11.4 cluster to another Linux host, but empty?  (Matthias Apitz <guru@unixarea.de>)
List pgsql-general
Hi Matthias,

> On 02. May, 2020, at 20:58, Matthias Apitz <guru@unixarea.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


pgsql-general by date:

Previous
From: Matthias Apitz
Date:
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?
Next
From: Adrian Klaver
Date:
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?