-
Joined on
2025-03-13
I tested it on Borg 1.4.1, and you were right, the --dry-run flag isn't getting passed on to borg. I have made appropriate changes to fix it.
I'll try to test it out today if possible, otherwise, in the morning. Thanks.
So from the code I can tell that if it's say borg 1.4.1+ then the condition will be True (not necessarily true value, if i'm correct this will have dry-run flag as value) and False (not True)…
Yes, from what I understand, if the --dry-run flag is passed to borgmatic, then global_arguments.dry_run is present and not None.
This is the test screenshot: If borg version not supported…
Ok so if I understand it correctly as of right now in all borgmatic actions, global_arguments.dry_run is checked, ie the presence of a --dry-run flag from argparse arguments, if present then…
I have made the requested changes and added version check before using --dry-run flag for borg compact.
If you haven't started the PR work for this yet, I'd be happy to take it on.
Edits to config and then passing the relevant flags to borg prune.
It's already being taken care of here,…
First: This requires only edits to to config right? Add those two options to the rest of the [bunch](fdb08b6c56…