EnterpriseDB / barman

Barman - Backup and Recovery Manager for PostgreSQL
https://www.pgbarman.org/
GNU General Public License v3.0
2.07k stars 191 forks source link

Check that a backup is valid when taking incremental backup #939

Closed andremagui closed 3 months ago

andremagui commented 3 months ago

With the imminent introduction of Postgres core incremental backups support in Barman, it will become necessary to validate the possibility of taking an incremental backup.

Incremental backups establish a sequential series of backups, where the initial backup invariably constitutes a full backup. Subsequently, numerous instances may arise wherein both full and incremental backups are generated.

This PR will handle validation of the parent backup info before taking an incremental backup.

References: BAR-162

Signed-off-by: Andre andre.marchesini@enterprisedb.com