Re: How to move a 11.4 cluster to another Linux host, but empty?
От | Matthias Apitz |
---|---|
Тема | Re: How to move a 11.4 cluster to another Linux host, but empty? |
Дата | |
Msg-id | 20200501083148.GA3595@c720-r342378 обсуждение исходный текст |
Ответ на | Re: How to move a 11.4 cluster to another Linux host, but empty? (Paul Förster <paul.foerster@gmail.com>) |
Ответы |
Re: How to move a 11.4 cluster to another Linux host, but empty?
Re: How to move a 11.4 cluster to another Linux host, but empty? |
Список | 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 problemswhen 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
В списке pgsql-general по дате отправления: