Re: Upgrade 9.5 cluster with non default data directory with checksum

From: Keith <keith(at)keithf4(dot)com>
To: Debraj Manna <subharaj(dot)manna(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Upgrade 9.5 cluster with non default data directory with checksum
Date: 2017-11-14 14:59:57
Message-ID: CAHw75vuJC00gxr1UAMU9VgzR2gm7Wv5kCfxfuPy7Sw=cs9U2xQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)manna(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Debraj Manna 2017-11-14 15:43:02 Re: Upgrade 9.5 cluster with non default data directory with checksum
Previous Message Debraj Manna 2017-11-14 14:28:55 Upgrade 9.5 cluster with non default data directory with checksum