pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?
Date: Sun, 3 May 2020 18:26:01 +0200
Message-ID: <20200503162601.GA18328@hjp.at> (raw)
In-Reply-To: <20200502102329.GA14178@c720-r342378>
References: <20200501081029.GA3261@c720-r342378>
	<999AE92C-F74D-4399-8FE1-1DB80D08915D@gmail.com>
	<20200501083148.GA3595@c720-r342378>
	<20200502102329.GA14178@c720-r342378>

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@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (15+ messages)

Message-ID: <20200503162601.GA18328@hjp.at>
Permalink:  ../20200503162601.GA18328@hjp.at/
Also on:    postgresql.org/message-id/20200503162601.GA18328@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?
  In-Reply-To: <20200503162601.GA18328@hjp.at>
  References: <20200501081029.GA3261@c720-r342378> <999AE92C-F74D-4399-8FE1-1DB80D08915D@gmail.com> <20200501083148.GA3595@c720-r342378> <20200502102329.GA14178@c720-r342378> <20200503162601.GA18328@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox