Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matthias,

> On 01. May, 2020, at 10:31, Matthias Apitz <guru@xxxxxxxxxxx> 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 inside the software tree by a running database cluster. Changes are only done in PGDATA.

Cheers,
Paul





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux