Re: [PATCH] Allow usage of archive .backup files as backup_label

2022-11-09 Thread Michael Paquier
On Tue, Oct 18, 2022 at 04:55:46AM +0200, Laurenz Albe wrote: > I tend to agree with you. It is easy to break PostgreSQL by manipulating > or removing "backup_label", and copying a file from the WAL archive and > renaming it to "backup_label" sounds like a footgun of the first order. > There is

Re: [PATCH] Allow usage of archive .backup files as backup_label

2022-10-17 Thread Laurenz Albe
On Tue, 2022-10-18 at 10:55 +0900, Michael Paquier wrote: > On Mon, Aug 22, 2022 at 05:16:58PM +0200, Michael Banck wrote: > > The .backup files written to the archive (if archiving is on) are very > > similar to the backup_label that's written/returned by > > pg_stop_backup()/pg_backup_stop(),

Re: [PATCH] Allow usage of archive .backup files as backup_label

2022-10-17 Thread Michael Paquier
On Mon, Aug 22, 2022 at 05:16:58PM +0200, Michael Banck wrote: > The .backup files written to the archive (if archiving is on) are very > similar to the backup_label that's written/returned by > pg_stop_backup()/pg_backup_stop(), they just have a few extra lines > about the end of backup process

[PATCH] Allow usage of archive .backup files as backup_label

2022-08-22 Thread Michael Banck
handling of personal data is subject to: https://www.credativ.de/en/contact/privacy/ >From 00b1b245f74a0496a4d60cfafff92735dbe73d22 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Mon, 22 Aug 2022 16:20:14 +0200 Subject: [PATCH] Allow usage of archive .backup files as backup_label. This l