Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add doc about keep restriction on incremental backups #986

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

andremagui
Copy link
Contributor

@andremagui andremagui commented Aug 13, 2024

The use of keep annotations should be restricted to full backups only as it could lead to having orphan backups in a case where a Postgres incremental backup has its parent deleted while having the keep annotation. Such an incremental backup will then be useless for recovery.

This PR is adding a note to the documentation of the barman keep command

References: BAR-258

@andremagui andremagui marked this pull request as ready for review August 13, 2024 18:24
@andremagui andremagui requested a review from a team as a code owner August 13, 2024 18:24
The use of keep annotations should be restricted to full backups
only as it could lead to having orphan backups in a case where a
Postgres incremental backup has its parent deleted while having
the keep annotation. Such an incremental backup will then be
useless for recovery.

References: BAR-258

Signed-off-by: Andre <[email protected]>
Copy link
Contributor

@barthisrael barthisrael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented in the thread.

I suggested an enhancement to the existing suggestion.

doc/manual/43-backup-commands.en.md Show resolved Hide resolved
Copy link
Contributor

@barthisrael barthisrael left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@barthisrael
Copy link
Contributor

Let's squash this, so we can merge.

@barthisrael barthisrael merged commit db6f8ba into master Aug 19, 2024
7 of 8 checks passed
@barthisrael barthisrael deleted the dev/bar-258 branch August 19, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants