From: | Matthias Apitz <guru(at)unixarea(dot)de> |
---|---|
To: | Paul Förster <paul(dot)foerster(at)gmail(dot)com> |
Cc: | 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-01 08:31:48 |
Message-ID: | 20200501083148.GA3595@c720-r342378 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)unixarea(dot)de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Förster | 2020-05-01 08:59:06 | Re: How to move a 11.4 cluster to another Linux host, but empty? |
Previous Message | Paul Förster | 2020-05-01 08:23:37 | Re: How to move a 11.4 cluster to another Linux host, but empty? |