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

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: 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-03 16:26:01
Message-ID: 20200503162601.GA18328@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2020-05-02 12:23:29 +0200, Matthias Apitz wrote:
> So the question remains: What I have to move by tar to get the cluster
> setup on the new host, but without the databases in it?

What exactly do you mean by "the cluster [setup], but without the
databases in it"? What do you want to preserve that a simple initdb
doesn't recreate? Configuration? Users and passwords? Other stuff?

If you can answer this question, the solution will probably be
simple.

hp

--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message TalGloz 2020-05-03 21:53:17 Upgrade Process Says "The database server was not shut down cleanly" but it was
Previous Message Abraham, Danny 2020-05-03 14:53:02 RE: Re: Very frequent "Too many clients" eventually crashes postmaster