Re: How to move a 11.4 cluster to another Linux host, but empty? - Mailing list pgsql-general

From Matthias Apitz
Subject Re: How to move a 11.4 cluster to another Linux host, but empty?
Date
Msg-id 20200501083148.GA3595@c720-r342378
Whole thread Raw
In response to Re: How to move a 11.4 cluster to another Linux host, but empty?  (Paul Förster <paul.foerster@gmail.com>)
Responses 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?
List 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 by date:

Previous
From: Paul Förster
Date:
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?
Next
From: Paul Förster
Date:
Subject: Re: How to move a 11.4 cluster to another Linux host, but empty?