Can't run archives check when max_duration is set, even with --only archives #988
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
I have a quite big repo in an HDD. I set max duration to limit repository check duration so i can do hourly backup. But, i still want to do daily archives check.
Steps to reproduce
Given a repository at:
/run/media/q/wd-blue-4tb/content
And a config file at
~/.config/borgmatic.d/999-reproduce-steps.yaml
with the following content:Run
Actual behavior
Expected behavior
Given that max_duration is only applicable to repository check. Borgmatic should ignore
max_duration
when '--only archives' is set. Even better if Borgmatic could be smart enough to sepearate repository check from other checks whenmax_duration
is set.Other notes / implementation ideas
No response
borgmatic version
1.9.8
borgmatic installation method
pipx
Borg version
borg 1.4.0
Python version
No response
Database version (if applicable)
Python 3.13.1
Operating system and version
Arch Linux
Thanks for filing this! Seems reasonable to me.. (Either one of those approaches you described.)
Okay, this is implemented in main and will be part of the next release! I went with your idea of making borgmatic smart enough to run archives and repository checks independently when a max duration is set (via option or CLI flag). Thanks again!
Released in borgmatic 1.9.10!
Thank you. It works perfectly.
Awesome, glad to hear it!