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

allow to run forget before pruning #93

Merged
merged 2 commits into from
Aug 18, 2021

Conversation

schewara
Copy link
Contributor

It should be possible to also run restic forget .. as part of the pruning workflow.

The reasons behind this is the following

When running the REST backend with --append-only, due to security restrictions, setting the RESTIC_FORGET_ARGS as part of the backup will fail.

Instead it should be also possible to re-use the RESTIC_FORGET_ARGS as part of the prune process which is then run directly on the same host as the REST backend to manage forget policies in a central place.

I am aware that the prune could have been combined as part of the forget, but for clarity I kept this as a seperate step.

README.md Outdated Show resolved Hide resolved
Copy link
Owner

@djmaze djmaze left a comment

Choose a reason for hiding this comment

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

Small type, but otherwise LGTM!

@schewara
Copy link
Contributor Author

@djmaze, I suppose the typo fixes never appeared on your radar, therefore a small 🎗️

@djmaze
Copy link
Owner

djmaze commented Aug 18, 2021

Oh, sorry! Yes, looks good now. Thanks!

@djmaze djmaze merged commit 07fbd36 into djmaze:master Aug 18, 2021
@djmaze djmaze added this to the 1.5.0 milestone Aug 18, 2021
@schewara schewara deleted the allow_pruning_with_forget branch August 20, 2021 01:53
jeankhawand pushed a commit to jeankhawand/resticker that referenced this pull request Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants