9bf316e28fIf the exact same "everything" command hook is present in multiple configuration files, borgmatic only runs it once (#1080).Dan Helfman2025-04-21 19:19:36 -07:00
3847f31939Fix path rewriting for non-root patterns in the ZFS, Btrfs, and LVM hooks (#1072).Dan Helfman2025-04-21 10:07:46 -07:00
a815d2dfdbClarify the documentation about when an "after: error" command hook runs and how it differs from other hooks (#1073).Dan Helfman2025-04-20 16:00:14 -07:00
6ebfd60e21Fix an incorrect warning about Borg placeholders being unsupported in a command hook (#1075).Dan Helfman2025-04-20 15:06:21 -07:00
b01b8498aaFix an error in the LVM hook when removing a snapshot directory (#1071).Dan Helfman2025-04-14 22:48:36 -07:00
a573e606a5Add a "states" option to command hooks, so you can optionally skip an "after" hook if borgmatic encounters an error (#1066).Dan Helfman2025-04-12 15:02:47 -07:00
81db67c759Fix a regression in monitoring hooks in which an error pinged the finish state instead of the fail state (#1065).Dan Helfman2025-04-09 11:32:59 -07:00
7de1c2121cList the configured "when" action names in the log entries for command hooks (#1063).Dan Helfman2025-04-08 12:04:10 -07:00
2c8dc5858fFix a regression that broke environment variable interpolation (#1062).Dan Helfman2025-04-08 11:55:26 -07:00
f27a96e22dDisplay a nicer error message when the "recreate" action encounters an archive that already exists (#1053).Dan Helfman2025-04-08 10:58:53 -07:00
a892a308bdDisplay a nicer error message when running the "recreate" action on a leftover temporary archive from a prior recreate run (#1053).Dan Helfman2025-04-08 10:13:04 -07:00
2db023f785Don't run action command hooks for actions listed in the "skip_actions" option (#1060).Dan Helfman2025-04-07 23:10:59 -07:00
edaca2b3cdFix command hooks getting run too many times when multiple borgmatic actions are executed (#1060).Dan Helfman2025-04-07 23:00:29 -07:00
bc79eafb0bDocument potential performance issues and workarounds with the ZFS, Btrfs, and LVM hooks (#1035).Dan Helfman2025-04-07 13:51:20 -07:00
68fafffe99Fix a regression in which soft failure exit codes in command hooks were not respected (#1059).Dan Helfman2025-04-07 10:29:51 -07:00
6c068a297aUpdate README to use new command hooks in the example.Dan Helfman2025-04-06 23:29:12 -07:00
06a6444c86Expand test that checks whether schema actions correspond to supported actions.Dan Helfman2025-04-06 21:25:06 -07:00
d0a5aa63beAdd a TL;DR to NEWS since 2.0.0 is such a huge release and ain't nobody got time for reading a huge changelog.Dan Helfman2025-04-03 09:24:47 -07:00
d2c3ed26a9Make a CLI flag for any config option that's a list of scalars (#303).Dan Helfman2025-04-02 23:15:21 -07:00
bbf6f27715For boolean configuration options, add separate "--foo" and "--no-foo" CLI flags (#303).Dan Helfman2025-04-02 17:08:04 -07:00
9301ab13ccMerge branch 'main' into config-command-line.Dan Helfman2025-04-02 09:55:33 -07:00
d5d04b89dcAdd configuration filename to "Successfully ran configuration file" log message (#1051).Dan Helfman2025-04-02 09:50:31 -07:00
364200c65aFix incorrect matching of non-zero array index flags with dashed names (#303).Dan Helfman2025-04-02 09:37:52 -07:00
4065c5d0f7Fix use of dashed command-line flags like "--repositories[2].append-only" generated from configuration (#303).Dan Helfman2025-04-01 23:04:53 -07:00
affe7cdc1bExpose propertyless YAML objects from configuration (e.g. "constants") as command-line flags (#303).Dan Helfman2025-04-01 21:05:44 -07:00
017cbae4f9Fix for the example not showing up in generated config for empty YAML objects (#303).Dan Helfman2025-04-01 19:44:47 -07:00
e96db2e100Fix "progress" option with the "transfer" action (#303).Dan Helfman2025-04-01 19:43:56 -07:00
af97b95e2bMerge branch 'main' into config-command-line.Dan Helfman2025-04-01 12:09:54 -07:00
6a61259f1aFix a failure in the "spot" check when the archive contains a symlink (#1050).Dan Helfman2025-04-01 11:49:47 -07:00
5490a83d77Merge branch 'main' into config-command-line.Dan Helfman2025-03-31 17:13:20 -07:00
6f07402407Fix end-to-end tests and don't stat() directories that don't exist (#1048).Dan Helfman2025-03-30 19:04:36 -07:00
ab01e97a5eFix a "no such file or directory" error in ZFS, Btrfs, and LVM hooks with nested directories that reside on separate devices/filesystems (#1048).Dan Helfman2025-03-30 14:55:54 -07:00
cffb8e88daMerge branch 'main' of ssh://projects.torsion.org:3022/borgmatic-collective/borgmatic into config-command-lineDan Helfman2025-03-29 18:58:12 -07:00
a8362f2618borgmatic without arguments/parameters should show usage help instead of starting a backup (#262).Dan Helfman2025-03-30 01:57:11 +00:00