Re: pg_upgrade link mode - Mailing list pgsql-general

From Lonni J Friedman
Subject Re: pg_upgrade link mode
Date
Msg-id CAP=oouGHP=CQmH=W4Cs4LP3gtyizN_EqyLJ-CtywV1ywfSRNwg@mail.gmail.com
Whole thread Raw
In response to Re: pg_upgrade link mode  (Igor Neyman <ineyman@perceptron.com>)
Responses Re: pg_upgrade link mode
Re: pg_upgrade link mode
List pgsql-general
On Thu, May 16, 2013 at 11:03 AM, Igor Neyman <ineyman@perceptron.com> wrote:
>
> From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of AI Rumman
> Sent: Thursday, May 16, 2013 1:56 PM
> To: Fabio Rueda Carrascosa
> Cc: pgsql-general
> Subject: Re: [GENERAL] pg_upgrade link mode
>
> I always think its a bit risky to use link instead of copying. However, I'd suggest to try the  --check at first of
pg_upgrade.
>
> --------------------------------------------------------------
>
> Why?
> Do you have specific experience, when link mode caused any problems?
> Could you share?

I assume what he's referring to is if the upgrade gets partially
completed and fails for any reason, then you have a broken mess, with
no simple rollback path.  Since your database is only about 1GB in
size, it shouldn't take very long to run a base backup before doing
the upgrade.  You can send that backup over the network to a remote
system, so that you have a fallback solution if the upgrade fails.


pgsql-general by date:

Previous
From: AI Rumman
Date:
Subject: Re: pg_upgrade link mode
Next
From: AI Rumman
Date:
Subject: Re: pg_upgrade link mode