pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Erik Serrano <eserranos@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces
Date: Mon, 28 Sep 2020 23:03:25 -0400
Message-ID: <20200929030325.GB26860@momjian.us> (raw)
In-Reply-To: <CA+dvXXteCbPJZzO2k9mk4rum+8Pr9SJpUdFnmZdNn-SCU3hUDA@mail.gmail.com>
References: <CA+dvXXt_roXnS4B4smVaP0Yy_E6OiPeOWhesubGXxDCTJ4FFoA@mail.gmail.com>
	<20200929021752.GA26860@momjian.us>
	<CA+dvXXteCbPJZzO2k9mk4rum+8Pr9SJpUdFnmZdNn-SCU3hUDA@mail.gmail.com>

On Tue, Sep 29, 2020 at 12:02:02AM -0300, Erik Serrano wrote:
> Thank you very much Bruce, I update the binary and the data in this way:
> 
> 
> bash# /usr/pgsql-9.6/bin/pg_upgrade --old-datadir /var/lib/pgsql/data/ 
> --new-datadir /var/lib/pgsql/9.6/data/ --old-bindir /usr/bin/ --new-bindir /usr
> /pgsql-9.6/bin/
> 
> 
> And in that I would like to know if it is essential to move the data?. Remember
> that I do not have space on the disks to make a tablespaces move
> thank u  Bruce

Use link mode so you don't need double the disk space.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee






view thread (7+ messages)  latest in thread

Message-ID: <20200929030325.GB26860@momjian.us>
Permalink:  ../20200929030325.GB26860@momjian.us/
Also on:    postgresql.org/message-id/20200929030325.GB26860@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bruce@momjian.us, eserranos@gmail.com
  Subject: Re: Upgrade 9.2 to 9.6 without modifying the location of the tablespaces
  In-Reply-To: <20200929030325.GB26860@momjian.us>
  References: <CA+dvXXt_roXnS4B4smVaP0Yy_E6OiPeOWhesubGXxDCTJ4FFoA@mail.gmail.com> <20200929021752.GA26860@momjian.us> <CA+dvXXteCbPJZzO2k9mk4rum+8Pr9SJpUdFnmZdNn-SCU3hUDA@mail.gmail.com> <20200929030325.GB26860@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox