Re: [ADMIN] Upgrade 9.5 cluster with non default data directory with checksum - Mailing list pgsql-admin

From Keith
Subject Re: [ADMIN] Upgrade 9.5 cluster with non default data directory with checksum
Date
Msg-id CAHw75vuJC00gxr1UAMU9VgzR2gm7Wv5kCfxfuPy7Sw=cs9U2xQ@mail.gmail.com
Whole thread Raw
In response to [ADMIN] Upgrade 9.5 cluster with non default data directory with checksum  (Debraj Manna <subharaj.manna@gmail.com>)
Responses Re: [ADMIN] Upgrade 9.5 cluster with non default data directory with checksum
List pgsql-admin
I highly advise not using pg_upgradecluster. It's a wrapper script for debian based systems and it obfuscates way too much of the upgrade process as you're seeing yourself with this question. You can use pg_createcluster to create the upgrade target version. Copy your config files over as needed but then just use pg_upgrade itself so it's clear what is getting upgraded and you'll get much better feedback about the process itself if there is a problem.

Keith

On Tue, Nov 14, 2017 at 9:28 AM, Debraj Manna <subharaj.manna@gmail.com> wrote:
Hi

I am trying to upgrade 9.5.4 cluster with data directory as /var/lib/postgresql/data/postgresql0 and have checksum enabled

Can someone let me know is it possible to upgrade this cluster to latest 10.1 using pg_upgradecluster

In pg_upgradecluster man page I am not seeing any option to pass the data directory for the old cluster and also to pass the checksum enabled option?

Thanks,
Debraj

pgsql-admin by date:

Previous
From: Debraj Manna
Date:
Subject: [ADMIN] Upgrade 9.5 cluster with non default data directory with checksum
Next
From: Debraj Manna
Date:
Subject: Re: [ADMIN] Upgrade 9.5 cluster with non default data directory with checksum