On Sat, 2024-11-09 at 17:24 +0000, Murthy Nunna wrote:
> I ran the test you outlined. Killed postmaster. Start failed. But simply removing the backup_label
> file made the server to restart successfully.
> There is no data corruption. Is there a scenario where data can be corrupted because of exclusive backup?
You would normally end up with data corruption or an error if you removed "backup_label"
from a properly taken backup. Manually removing "backup_label" is dangerous. It is safe
to do if the server crashed while in exclusive backup mode, but it is detrimental anywhere
else.
Yours,
Laurenz Albe