EnterpriseDB / barman

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

Check postgres mode on incremental backups #937

Closed gustabowill closed 5 months ago

gustabowill commented 5 months ago

Checks that the --incremental argument is accepted only when having backup_method = postgres, issue an error otherwise.

References: BAR-164

barthisrael commented 5 months ago

@gcalacoci might want changes in this PR -- see https://github.com/EnterpriseDB/barman/pull/938#discussion_r1647175478

gustabowill commented 5 months ago

@gcalacoci might want changes in this PR -- see #938 (comment)

Oh that is another code. I mean, it is basically the same check that I do in this PR, but it's in another file and for a different purpose.

barthisrael commented 5 months ago

@gcalacoci might want changes in this PR -- see #938 (comment)

Oh that is another code. I mean, it is basically the same check that I do in this PR, but it's in another file and for a different purpose.

🤦‍♂️ I didn't notice the infofile.py -- ignore that.