On Sun, 2 Mar 2025 09:08:40 -0800 Dan Helfman <wit...@torsion.org> wrote:
This is actually intentional. borgmatic is a wrapper for many executables besides just Borg; it calls out to database clients, filesystem snapshot software, and even arbitrary commands (in the form of before_* and after_* hooks). So IMO it doesn't make sense to adopt the return codes for only one of those executables. But what borgmatic does offer is the ability to configure how different Borg exit codes are interpreted as either warnings or errors. See https://torsion.org/borgmatic/docs/how-to/customize-warnings-and-errors/ for more information.
(Not sure why I didn't get the reply, just saw it by chance on the web frontend.)
Now that you pointed me to those docs it kinda makes sense to not pass those through. Those config settings should be enough to get it to work for my use case. Thanks!
Greetings, Lee