pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Dávid Suchan <david.suchan.ds@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_upgradecluster transfering only a portion of the data
Date: Mon, 27 Feb 2023 18:40:57 +0100
Message-ID: <f72651839f0cf40ca42940f7e8d13fd8faedfc40.camel@cybertec.at> (raw)
In-Reply-To: <CAHD9QtYATAaZd9SK+iZccG34Zb1fDS+X6pjsNHWRc9Y=RPmwQQ@mail.gmail.com>
References: <CAHD9QtYPifFBOULZVPJQ0XuSBc1WwQdQqHUjWZk8UdxRorGAZQ@mail.gmail.com>
	<fd0d1b0d-3017-5d6c-cc95-18fd664c35ad@aklaver.com>
	<CAHD9QtYbzbxdZhD3EYA4oqtK1a4wtyv1rCv553p=PSioizm_ZQ@mail.gmail.com>
	<88bcf9f7-3483-9d26-4a5c-984b79850833@aklaver.com>
	<CAHD9QtYCLMQ96XJy+Ajn0mBSPSxkHAk4B5eik9O9-m36d8Us0w@mail.gmail.com>
	<2cc57fe7-daa8-5312-078f-3e7c0adb7606@aklaver.com>
	<CAHD9QtYATAaZd9SK+iZccG34Zb1fDS+X6pjsNHWRc9Y=RPmwQQ@mail.gmail.com>

On Mon, 2023-02-27 at 18:18 +0100, Dávid Suchan wrote:
> I did not use the -k --link argument while upgrading as that I presume does not copy the data 

It would be great if you shared the exact command line you used.

The man page of "pg_upgradecluster" says:

 -m, --method=dump|upgrade|link|clone
     Specify the upgrade method.  dump uses pg_dump(1) and pg_restore(1), upgrade uses pg_upgrade(1).  The default is dump.

Yours,
Laurenz Albe





view thread (13+ messages)  latest in thread

Message-ID: <f72651839f0cf40ca42940f7e8d13fd8faedfc40.camel@cybertec.at>
Permalink:  ../f72651839f0cf40ca42940f7e8d13fd8faedfc40.camel@cybertec.at/
Also on:    postgresql.org/message-id/f72651839f0cf40ca42940f7e8d13fd8faedfc40.camel@cybertec.at

 · 

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-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, david.suchan.ds@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: pg_upgradecluster transfering only a portion of the data
  In-Reply-To: <f72651839f0cf40ca42940f7e8d13fd8faedfc40.camel@cybertec.at>
  References: <CAHD9QtYPifFBOULZVPJQ0XuSBc1WwQdQqHUjWZk8UdxRorGAZQ@mail.gmail.com> <fd0d1b0d-3017-5d6c-cc95-18fd664c35ad@aklaver.com> <CAHD9QtYbzbxdZhD3EYA4oqtK1a4wtyv1rCv553p=PSioizm_ZQ@mail.gmail.com> <88bcf9f7-3483-9d26-4a5c-984b79850833@aklaver.com> <CAHD9QtYCLMQ96XJy+Ajn0mBSPSxkHAk4B5eik9O9-m36d8Us0w@mail.gmail.com> <2cc57fe7-daa8-5312-078f-3e7c0adb7606@aklaver.com> <CAHD9QtYATAaZd9SK+iZccG34Zb1fDS+X6pjsNHWRc9Y=RPmwQQ@mail.gmail.com> <f72651839f0cf40ca42940f7e8d13fd8faedfc40.camel@cybertec.at>

* 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