public inbox for [email protected]  
help / color / mirror / Atom feed
Re: How to validate restore of backup?
2+ messages / 2 participants
[nested] [flat]

* Re: How to validate restore of backup?
@ 2024-08-22 14:22 Greg Sabino Mullane <[email protected]>
  2024-08-22 14:32 ` Re: How to validate restore of backup? Ron Johnson <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Greg Sabino Mullane @ 2024-08-22 14:22 UTC (permalink / raw)
  To: o1bigtenor <[email protected]>; +Cc: pgsql-generallists.postgresql.org <[email protected]>

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.

Cheers,
Greg


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to validate restore of backup?
  2024-08-22 14:22 Re: How to validate restore of backup? Greg Sabino Mullane <[email protected]>
@ 2024-08-22 14:32 ` Ron Johnson <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Ron Johnson @ 2024-08-22 14:32 UTC (permalink / raw)
  To: pgsql-generallists.postgresql.org <[email protected]>

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!


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-08-22 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-22 14:22 Re: How to validate restore of backup? Greg Sabino Mullane <[email protected]>
2024-08-22 14:32 ` Ron Johnson <[email protected]>

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