From: Matthias Apitz <guru@unixarea.de>
To: Paul Förster <paul.foerster@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?
Date: Fri, 1 May 2020 10:31:48 +0200
Message-ID: <20200501083148.GA3595@c720-r342378> (raw)
In-Reply-To: <999AE92C-F74D-4399-8FE1-1DB80D08915D@gmail.com>
References: <20200501081029.GA3261@c720-r342378>
<999AE92C-F74D-4399-8FE1-1DB80D08915D@gmail.com>
Hi Paul,
El día viernes, mayo 01, 2020 a las 10:23:37a. m. +0200, Paul Förster escribió:
>
> you may have a look at the tar man page. tar in Linux has the --exclude=PATTERN option.
I do know the man page(s) of tar ant the --exclude=PATTERN.
> You may specify the PGDATA directory there.
This is, what I wanted to know: that the cluster can be moved without
the PGDATA dir and still works fine.
> Also, why do you have the PGDATA directory inside the software home directory? That makes no sense and only leads to problems when updating or, in your case, moving.
>
I don't. The software is below
/usr/local/sisis-pap/pgsql
and the cluster is below
/data/postgres11.4/data.
Thanks
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
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: guru@unixarea.de, paul.foerster@gmail.com
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?
In-Reply-To: <20200501083148.GA3595@c720-r342378>
References: <20200501081029.GA3261@c720-r342378> <999AE92C-F74D-4399-8FE1-1DB80D08915D@gmail.com> <20200501083148.GA3595@c720-r342378>
* 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