public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: How to validate restore of backup?
Date: Thu, 22 Aug 2024 10:32:33 -0400
Message-ID: <CANzqJaDuFPoUGF0sCa27EkMV9YEj=-_YO5rOED6Ti28OkUpnmQ@mail.gmail.com> (raw)
In-Reply-To: <CAKAnmmJVi=9HTtYw4L5hvW0oVQhxfo_hH=WK-qtgO+TnnNwtHw@mail.gmail.com>
References: <CAKS+vVZSg=LDpFThxZQyemYE470Hbb15W-YZDHv=-fEZjML2QA@mail.gmail.com>
	<CAPnRvGsmb57R7cD3KFjN6p=YrxXen-E_Xbs9QKHx7REKQfz--g@mail.gmail.com>
	<CANzqJaCxs4VwDZLw+JMdjjzvY8nC7MNvyH62GXNi2XTHAj3ghA@mail.gmail.com>
	<CAPpdf5_mu_DJCbDY99Xa+BBJX0sMZo=yshohDT0TgUdjmMqRrg@mail.gmail.com>
	<CAKAnmmJVi=9HTtYw4L5hvW0oVQhxfo_hH=WK-qtgO+TnnNwtHw@mail.gmail.com>

On Thu, Aug 22, 2024 at 10:22 AM Greg Sabino Mullane <[email protected]>
wrote:

> On Thu, Aug 22, 2024 at 8:49 AM o1bigtenor <[email protected]> wrote:
>
>>
>>
>> On Thu, Aug 22, 2024 at 6:24 AM Ron Johnson <[email protected]>
>> wrote:
>>
>>> That's great on small databases.  Not so practical when they're big.
>>>
>>> So - - - - what is the recommended procedure for 'large' databases?
>>
>
> Use a real backup system like pgBackRest. Stop using pg_dump.
>

Not useful when you're migrating not only between major versions but glibc
levels.

Use logical replication!!  Maybe.  It gets difficult with partitioned
tables that regularly have children added and dropped; mistakes can be
made.  pg_dump/pg_restore is guaranteed to work.

-- 
Death to America, and butter sauce.
Iraq lobster!


view thread (2+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: How to validate restore of backup?
  In-Reply-To: <CANzqJaDuFPoUGF0sCa27EkMV9YEj=-_YO5rOED6Ti28OkUpnmQ@mail.gmail.com>

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

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