Commit Graph

  • fc7439af3a If a source file is deleted during a "spot" check, consider the file as non-matching and move on instead of immediately failing the entire (#1231). Dan Helfman 2026-02-05 23:11:59 -08:00
  • ea05a4660c Deduplicate overlapping source directories and patterns so they don't throw off "spot" check file counts and cause spurious check failures. Dan Helfman 2026-02-05 12:50:39 -08:00
  • 957f6be4a2 Switch to iterable unpacking (#1252). Dan Helfman 2026-02-05 10:38:07 -08:00
  • 730a4b2f18 Work around Borg returning a warning exit code when a repository/archive check fails (#1252). Dan Helfman 2026-02-05 10:19:06 -08:00
  • c64c79ad0e Fix for SSH warnings from Borg showing up as JSON logs even without the "--log-json" flag (#1260). Dan Helfman 2026-02-03 10:12:15 -08:00
  • acd1a8d1dd Update ntfy test to use @pytest.mark.parametrize (#1251) Dan Helfman 2026-02-02 11:58:50 -08:00
  • c66fde4a93 Fix ntfy monitoring hook to send tags as an array (#1251). Dan Helfman 2026-02-02 19:43:50 +00:00
  • dbe3891819 Merge branch 'main' into fix-ntfy-tags-schema-array Mashrafi Rahman 2026-02-02 13:16:27 +00:00
  • dc89c9ec73 Update and test the convert_string_to_array function. Mashrafi Rahman 2026-02-02 18:26:38 +08:00
  • a27dc95c87 Fix a "codec can't decode byte" error when running commands that output multi-byte unicode characters (#1258). Dan Helfman 2026-02-01 20:15:03 -08:00
  • 6b5390f5dd Send tags as array in ntfy monitoring hook. Mashrafi Rahman 2026-02-01 15:30:09 +08:00
  • fd485e64a3 Fix incorrect deprecated hook option name in documentation. Dan Helfman 2026-01-30 22:43:54 -08:00
  • f5de6bf43c Clarify command hooks documentation about YAML sequences (#1255). Dan Helfman 2026-01-30 22:37:12 -08:00
  • 6e611f9b38 arg fixes. lingfish 2026-01-30 13:57:14 +11:00
  • 06ebff878b Add the other supported args. lingfish 2026-01-30 13:27:09 +11:00
  • 38cc5d4ee4 Half clueless attempt at fixing test_schema.py. lingfish 2026-01-30 11:52:47 +11:00
  • 794e7eadab Make the action actually work. PR still pending a bunch of stuff. lingfish 2026-01-29 17:38:06 +11:00
  • de35ed82be Initial commit (unfinished) to address #1243. lingfish 2026-01-29 14:35:20 +11:00
  • aa25dc7b31 Fix a regression in which the "--stats" flag hides statistics at default verbosity (#1250). Dan Helfman 2026-01-28 11:49:24 -08:00
  • aba45f03d6 Bump version for release. 2.1.1 Dan Helfman 2026-01-27 13:09:10 -08:00
  • f6124528df When the "unsafe_skip_path_validation_before_create" option is enabled, don't log a warning about it (#1244). Dan Helfman 2026-01-25 12:17:35 -08:00
  • b67dcf829e Fix a regression in which the ntfy monitoring hook failed to send a ping when the "priority" option was set (#1246). Dan Helfman 2026-01-24 16:35:55 -08:00
  • 71e25756f2 Fix a regression in which the KeePassXC credential hook password prompt was invisible (#1245). Dan Helfman 2026-01-24 16:17:32 -08:00
  • ff2f9fd5ee Add an additional test and "fix" code coverage (#1242). Dan Helfman 2026-01-24 12:28:33 -08:00
  • ca4447ffab Fix "spot" check hang (#1242). Dan Helfman 2026-01-24 20:20:08 +00:00
  • 104fe35e39 Add another test to get some additional coverage that's timing dependent (#1242). Dan Helfman 2026-01-23 23:04:15 -08:00
  • 248fa1db64 Add automated tests for new code (#1242). Dan Helfman 2026-01-23 22:50:37 -08:00
  • 97f7c65f6c More refactoring and test fixes (#1242). Dan Helfman 2026-01-22 23:01:34 -08:00
  • 765eba5315 Get existing unit/integration tests passing (#1242). Dan Helfman 2026-01-22 17:29:30 -08:00
  • bd051beced Structural refactor just to get code out of log_outputs() and into separate utility functions (#1242). Dan Helfman 2026-01-22 14:02:48 -08:00
  • d5cd4efecd Fix spot check hang (#1242). Dan Helfman 2026-01-22 10:27:47 -08:00
  • 13fd225a0b Abolish ICE. Dan Helfman 2026-01-21 19:29:22 -08:00
  • 87c5863218 Some cleanup and also fix delayed logs (#1242). Dan Helfman 2026-01-19 22:22:15 -08:00
  • 677871aa89 Initial stab at fixing spot check hang by actually draining and consuming buffers after a process exits (#1242). Dan Helfman 2026-01-19 16:26:22 -08:00
  • d2390581e7 Fix implicit string concatenation instead of trying to paper over it (incidental work included in #1241). Dan Helfman 2026-01-18 20:56:29 -08:00
  • efd0f0d618 For the "recreate" action, actually pass the "--dry-run" flag through to Borg instead of just skipping the Borg call (#1241). Dan Helfman 2026-01-18 18:39:29 -08:00
  • 4ff7dccab4 Expand on archive argument to recreate (#1239). Dan Helfman 2026-01-17 03:15:21 +00:00
  • 76537f6c11 Expand on archive argument Jason Lingohr 2026-01-17 02:45:15 +00:00
  • 486a5fb6b5 Bump version for release. 2.1.0 Dan Helfman 2026-01-16 12:42:25 -08:00
  • 2419ae314e Add "unsafe_skip_path_validation_before_create" option to documentation (#1221). Dan Helfman 2026-01-16 12:41:12 -08:00
  • f73a79d647 Fix another warning from LVM about leaked file descriptors, this time when calling "lvcreate" from a command hook (#1230). Dan Helfman 2026-01-16 12:04:32 -08:00
  • 5c55402021 Fix for the ntfy monitoring hook erroring on emojis in the "title" option (#1234). Dan Helfman 2026-01-16 10:04:14 -08:00
  • 2bb818402d Fix the "recreate" action to include borgmatic-specific paths (database dumps, etc.) in recreated archives. Dan Helfman 2026-01-15 22:16:41 -08:00
  • beecdada68 Several related fixes and improvements in logging, output capturing, and command execution (#1235). Dan Helfman 2026-01-16 03:28:46 +00:00
  • 7e4a894cc4 Prevent Borg error-level log about repo not existing when "borgmatic repo-create" probes for repo existence. Dan Helfman 2026-01-14 22:38:09 -08:00
  • e39c503fb7 Add missing test coverage and fix log_outputs() variable use. Dan Helfman 2026-01-14 22:18:19 -08:00
  • c301858cca MOAR --log-json. Dan Helfman 2026-01-14 21:59:36 -08:00
  • 762beb46c2 Fix "restore" action and broken end-to-end tests. Dan Helfman 2026-01-14 12:54:36 -08:00
  • d354cf0942 Get unit/integration tests passing. Dan Helfman 2026-01-13 16:02:02 -08:00
  • 64e25144a8 Going back to using readline() for reading lines from executed programs. Dan Helfman 2026-01-13 10:08:40 -08:00
  • c4de141899 Several related fixes and improvements in logging, output capturing, and command execution. Dan Helfman 2026-01-12 15:26:50 -08:00
  • 10f2d6bdfd Revert "Fix for stderr warnings from ssh dirtying Borg JSON output and breaking "check" (#485)." Dan Helfman 2026-01-11 10:00:08 -08:00
  • 7bb27e5366 Revert "Fix for incorrect use of "--log-json" when looking up latest archive (#1204)." Dan Helfman 2026-01-11 09:51:50 -08:00
  • 2c530cc1b9 Fix for incorrect use of "--log-json" when looking up latest archive (#1204). Dan Helfman 2026-01-10 21:25:20 -08:00
  • 9a1c84f645 Fix broken end-to-end tests (#1092). Dan Helfman 2026-01-10 21:04:59 -08:00
  • 7987a5ff1f Fix for stderr warnings from ssh dirtying Borg JSON output and breaking "check" (#485). Dan Helfman 2026-01-10 20:55:35 -08:00
  • bdd2258701 BREAKING: Treat most Borg warnings as errors by default and deprecate the "source_directories_must_exist" option (#1092). Dan Helfman 2026-01-10 19:35:07 -08:00
  • 022d7a4bc7 Fix accidentally commented out tests. Dan Helfman 2026-01-10 12:03:51 -08:00
  • 5cb2af4683 Disable Loki buffering when log sending is disabled, and fix monitoring end-to-end tests (#1132). Dan Helfman 2026-01-10 11:59:01 -08:00
  • 774436817a BREAKING/SECURITY: For the Healthchecks, Apprise, Pagerduty, and Loki monitoring hooks, disable log sending when not explicitly enabled (#1132). Dan Helfman 2026-01-09 22:25:50 -08:00
  • a5f7c8cafc Reduce memory consumption of "create" action path validation (#1225). Dan Helfman 2026-01-09 21:29:07 +00:00
  • 6c7af8c2bb Merge branch 'main' into reduce-path-validation-memory-consumption Dan Helfman 2026-01-09 13:02:59 -08:00
  • 3e4115cc92 For the "extract"/"restore" actions, fix use of "--log-json" when extracting to stdout (#485). Dan Helfman 2026-01-09 13:02:04 -08:00
  • d589d351ed Merge branch 'main' into reduce-path-validation-memory-consumption Dan Helfman 2026-01-09 12:17:57 -08:00
  • bb149e4ee8 Upgrade urllib3 in test requirements for security fix. Dan Helfman 2026-01-09 12:14:31 -08:00
  • 4e6319f5d3 In the "export-tar" action, fix the use of "--log-json" when exporting to stdout (#485). Dan Helfman 2026-01-09 12:12:42 -08:00
  • 528dc6fe87 For the "mount" action, fix use of "--log-json" when "--foreground" is set (#485). Dan Helfman 2026-01-09 12:01:21 -08:00
  • 6f4f1fa16e For the "key export" action, fix use of "--log-json" when exporting to stdout (#485). Dan Helfman 2026-01-09 11:57:27 -08:00
  • fd373cfefc Fix for an error in the "key import" action when importing a key from stdin. Dan Helfman 2026-01-09 11:51:14 -08:00
  • 4d26650884 Fix incorrect use of "--log-json" in the "key change-passphrase" action (#485). Dan Helfman 2026-01-08 22:54:37 -08:00
  • 776bf3fcd4 Track "last lines" per-process instead of per-buffer, now that each process can have multiple active buffers (#485). Dan Helfman 2026-01-08 22:26:15 -08:00
  • a23d889c6d Merge branch 'main' into reduce-path-validation-memory-consumption Dan Helfman 2026-01-08 21:30:10 -08:00
  • 1299aefeff For the "repo-delete" action, don't pass "--log-json" to Borg when running Borg interacively (#485). Dan Helfman 2026-01-08 21:29:15 -08:00
  • 0c79126ccd Merge branch 'main' into reduce-path-validation-memory-consumption Dan Helfman 2026-01-08 21:14:14 -08:00
  • 4eeba085de Add disclaimer to individual documentation pages about options/flags and borgmatic versions. Dan Helfman 2026-01-08 21:08:29 -08:00
  • 536b24f6ab Merge branch 'main' into reduce-path-validation-memory-consumption Dan Helfman 2026-01-08 10:44:56 -08:00
  • bc8649e11a For the "repo-info" action, don't pass "--log-json" to Borg when "--json" is also set (#485). Dan Helfman 2026-01-08 10:42:35 -08:00
  • 0ffa4ec429 For the "repo-create" action, don't pass "--log-json" to Borg, as its output isn't captured and parsed (#485). Dan Helfman 2026-01-08 10:27:02 -08:00
  • cf78ad681d NEWS clarifications. Dan Helfman 2026-01-07 23:25:25 -08:00
  • a308ffca64 Add missing test coverage (#1225). Dan Helfman 2026-01-07 22:13:55 -08:00
  • 6407b3bd80 Fix existing tests (#1225). Dan Helfman 2026-01-07 19:58:25 -08:00
  • aa6b6e0d96 Fix many tests (#1225). Dan Helfman 2026-01-06 22:32:42 -08:00
  • e2f7cd8edc Reorganize path validation logic (#1225). Dan Helfman 2026-01-06 16:55:36 -08:00
  • 310b287cff Make execute_command_with_processes() a generator like execute_command_and_capture_output() (#1225). Dan Helfman 2026-01-06 15:39:19 -08:00
  • 305ac0d65d Various fixes and efficiency improvements related to captured output changes (#1225). Dan Helfman 2026-01-06 15:27:04 -08:00
  • d9d30d12cd Opportunistic efficiency improvements in spot check (#1225). Dan Helfman 2026-01-06 15:11:54 -08:00
  • cc14678eed Add NEWS entry (#1225). Dan Helfman 2026-01-06 14:37:33 -08:00
  • 549707d28b Reduce memory consumption of "create" action path validation (#1225) Dan Helfman 2026-01-06 14:30:50 -08:00
  • b0e083eff2 BREAKING: Support disabling both constant and variable interpolation by escaping with backslashes (#1213). Dan Helfman 2026-01-05 15:39:14 -08:00
  • 71291409fe SECURITY: Prevent shell injection attacks via constant interpolation in command hooks. Dan Helfman 2026-01-04 21:56:53 -08:00
  • 7deab735fd Add a NEWS entry for the "unsafe_skip_path_validation_before_create" option (#1221). Dan Helfman 2026-01-04 20:48:13 -08:00
  • 6db2622cce Add "unsafe_skip_path_validation_before_create" option to skip pre-backup validation (#1221). Dan Helfman 2026-01-05 04:39:49 +00:00
  • 8fdf18e471 Add NEWS entry for "extract" check progress support (#1224). Dan Helfman 2026-01-04 20:12:18 -08:00
  • a220f20653 Run borg with --progress during extract dry run if passed to borgmatic check (#1224). Dan Helfman 2026-01-05 04:09:01 +00:00
  • c0b4c596ef Run borg with --progress during extract dry run if passed to borgmatic check. Simon Pilkington 2026-01-05 03:39:48 +01:00
  • 3bec359355 Merge branch 'main' into add-unsafe-create-without-precheck-option Julien Cornebise 2026-01-04 22:07:15 +00:00
  • c08f1b8178 Rename unsafe_create_without_precheck to unsafe_skip_path_validation_before_create and address PR feedback (#1222). Julien Cornebise 2026-01-04 22:02:47 +00:00
  • c58b9f1c67 Promote the ZFS, LVM, and Btrfs hooks from beta features to stable. Dan Helfman 2026-01-03 22:33:17 -08:00
  • 0f3234d681 Cleanup snapshots immediately after ZFS, LVM, or Btrfs hooks error (#1220). Dan Helfman 2026-01-03 22:22:55 -08:00
  • ead3028e9d Elevate command stderr to error logs, add "--log-json" support for borgmatic logs, and log Borg output at varying log levels based on verbosities (#485, #858, #1204). Dan Helfman 2026-01-04 03:06:21 +00:00