Re: Add -k/--link option to pg_combinebackup - Mailing list pgsql-hackers

From Israel Barth Rubio
Subject Re: Add -k/--link option to pg_combinebackup
Date
Msg-id CAO_rXXDTJOe=px139mkT4wBB5MvQEiFKPvHTLTZh51n9Qwu+Lg@mail.gmail.com
Whole thread Raw
List pgsql-hackers
One concern that I have about this --link mode, which Euler Taveira
also got concerned about: the fact that it can invalidate the original
backups if the user modifies or starts the synthetic backup without
moving it to another file system or machine.

At the moment, pg_combinebackup issues a warning about that problem as
soon as the execution of the tool is about to finish. There is also a
warning in the docs. But some users don't pay proper attention to the
output and/or docs.

I wonder if we have some way, like pg_upgrade does (rename a global
file in the original cluster), so we could increase the protection
against that issue?

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: use a non-locking initial test in TAS_SPIN on AArch64
Next
From: Alena Rybakina
Date:
Subject: Re: Sample rate added to pg_stat_statements