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

Add shortcut to get latest full backup #938

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 retrieve the latest full backup. Currently, Barman can only retrieve the most recent backup regardless of its type.

This adjustment is essential to align with the specifications outlined in the BAR-161 proposal for enhancing the command-line interface that introduces the --incremental option, which facilitates the execution of incremental backups for postgres databases.

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.

References: BAR-173

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