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

Поиск
Список
Период
Сортировка
От Paul Förster
Тема Re: How to move a 11.4 cluster to another Linux host, but empty?
Дата
Msg-id 2A3EB078-C20F-4DB6-8EDA-FD267B733284@gmail.com
обсуждение исходный текст
Ответ на Re: How to move a 11.4 cluster to another Linux host, but empty?  (Matthias Apitz <guru@unixarea.de>)
Список pgsql-general
Hi Matthias,

> On 01. May, 2020, at 10:31, Matthias Apitz <guru@unixarea.de> wrote:
>
> I don't. The software is below
>
> /usr/local/sisis-pap/pgsql
>
> and the cluster is below
>
> /data/postgres11.4/data.

in this case, all you'd have to do is:

tar cvf software.tar /usr/local/sisis-pap/pgsql

to only copy the software. You don't even need to stop the database cluster for this because nothing is ever changed
insidethe software tree by a running database cluster. Changes are only done in PGDATA. 

Cheers,
Paul


В списке pgsql-general по дате отправления:

Предыдущее
От: Matthias Apitz
Дата:
Сообщение: Re: How to move a 11.4 cluster to another Linux host, but empty?
Следующее
От: legrand legrand
Дата:
Сообщение: Re: pg_stat_statements : how to catch non successfully finishedstatements ?