Dan Helfman
54d955bc95
Fix automated tests and update NEWS ( #1206 ).
2025-12-20 16:59:13 -08:00
Dan Helfman
a72f9b24b5
Merge branch jacksonchen666-btrfs-remove-pid into btrfs-remove-pid and streamline the docs a bit.
2025-12-20 16:02:42 -08:00
Dan Helfman
50a062611e
Fix a regression in the ZFS, LVM, and Btrfs hooks in which snapshotted paths ignored global excludes ( #1195 ).
2025-12-02 15:40:42 -08:00
Jackson
f95fbaa6aa
fix at least some tests (with changed snapshot path)
...
this really is just a blanket find and replace though
2025-11-21 09:22:34 +01:00
Dan Helfman
859c338d06
Improve documentation search results for individual configuration options.
2025-11-04 22:34:15 -08:00
Dan Helfman
0f7ebcb4b7
Fix for a regression in the ZFS, LVM, and Btrfs hooks in which partial excludes of snapshot paths were ignored ( #1169 ).
2025-10-26 14:12:52 -07:00
Dan Helfman
f680869d31
Expand the "borg_extra_options" option to support every Borg sub-command that borgmatic uses ( #427 ).
2025-10-23 21:13:16 -07:00
Dan Helfman
dcd567f4f0
Fix for a runtime directory error when the configured patterns contain a global exclude ( #1150 ).
2025-10-22 11:10:42 -07:00
Dan Helfman
efc4316a45
Split out example configuration into different pages of reference documentation ( #942 ).
2025-10-12 21:28:52 -07:00
Dan Helfman
b89f057be0
Fix a regression in the Loki monitoring hook in which log messages weren't sending ( #1152 ).
2025-09-28 16:44:59 -07:00
Dan Helfman
da65063216
Make test code style more consistent with the rest of the codebase ( #1116 ).
2025-09-17 21:55:36 -07:00
Dan Helfman
9a80fec91b
When running tests, use Ruff for faster and more comprehensive code linting and formatting.
2025-07-17 23:24:58 -07:00
Tobias Schlatter and Dan Helfman
123f8958f6
Create a checkpoint archive first with streaming processes ( #1032 ).
...
This ensures that if a streaming process fails, we do not create a
real (i.e. non-checkpoint archive), (fixes #1032 ).
Without this, there is a race condition where borg already creates an
archive before borgmatic can kill it.
Tested locally (with `pipx install --editable .`):
```sh
borgmatic --config config.yaml create
borgmatic --config config.yaml create --json
```
## Hold up!
Thanks for your contribution. Unfortunately, we don't use GitHub pull requests to manage code contributions to this repository (and GitHub doesn't have any way to disable pull requests entirely). Instead, please see:
https://torsion.org/borgmatic/#contributing
... which provides full instructions on how to submit pull requests. You can even use your GitHub account to login.
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1102
Reviewed-by: Dan Helfman <witten@torsion.org >
Co-authored-by: Tobias Schlatter <schlatter.tobias@gmail.com >
Co-committed-by: Tobias Schlatter <schlatter.tobias@gmail.com >
2025-06-25 16:24:07 +00:00
Dan Helfman
8e8d9e6267
Fix a bug in which "borg --version" failing isn't considered a "fail" state in a command hook ( #1100 ).
2025-05-27 11:52:36 -07:00
Dan Helfman
b68211cc0c
Fix for the "config generate" action generating invalid configuration when upgrading deprecated command hooks ( #1091 ).
2025-05-08 12:59:53 -07:00
Dan Helfman
81db67c759
Fix a regression in monitoring hooks in which an error pinged the finish state instead of the fail state ( #1065 ).
2025-04-09 11:32:59 -07:00
Dan Helfman
06a6444c86
Expand test that checks whether schema actions correspond to supported actions.
2025-04-06 21:25:06 -07:00
Dan Helfman
f6de79060e
Omit "pattern" from missing actions test ( #1056 ).
2025-04-06 20:57:15 -07:00
Dan Helfman
edee3c3788
Fix broken monitoring verbosity ( #793 ).
2025-04-05 16:11:42 -07:00
Dan Helfman
c0adc4f9df
Add test coverage for new code ( #793 ).
2025-04-04 17:19:14 -07:00
Dan Helfman
49839e884a
Add configuration options for logging and verbosity ( #793 ).
2025-04-04 10:11:00 -07:00
Dan Helfman
4065c5d0f7
Fix use of dashed command-line flags like "--repositories[2].append-only" generated from configuration ( #303 ).
2025-04-01 23:04:53 -07:00
Dan Helfman
affe7cdc1b
Expose propertyless YAML objects from configuration (e.g. "constants") as command-line flags ( #303 ).
2025-04-01 21:05:44 -07:00
Dan Helfman
cf477bdc1c
Fix broken list_details, progress, and statistics options ( #303 ).
2025-03-31 11:33:56 -07:00
Dan Helfman
975a6e4540
Add additional tests for complete coverage ( #303 ).
2025-03-28 11:37:48 -07:00
Dan Helfman
5bf2f546b9
More automated tests ( #303 ).
2025-03-27 21:01:56 -07:00
Dan Helfman
b4c558d013
Add tests for CLI arguments from schema logic ( #303 ).
2025-03-27 16:49:14 -07:00
Dan Helfman
79bf641668
Set the action type when cloning an argument for a list index flag ( #303 ).
2025-03-27 12:42:49 -07:00
Dan Helfman
50beb334dc
Add tests for adding array element arguments and fix the code under test ( #303 ).
2025-03-27 11:07:25 -07:00
Dan Helfman
423627e67b
Get existing unit/integration tests passing ( #303 ).
2025-03-23 17:00:04 -07:00
Nish_
5525b467ef
add key import command
...
Signed-off-by: Nish_ <120EE0980@nitrkl.ac.in >
2025-03-21 00:47:45 +05:30
Dan Helfman
5ab766b51c
Add a few more missing tests ( #1019 ).
2025-03-08 20:55:13 -08:00
Dan Helfman
45c114973c
Add missing test coverage for new/changed code ( #1019 ).
2025-03-08 18:31:16 -08:00
Dan Helfman
d4f48a3a9e
Initial work on unified command hooks ( #790 ).
2025-03-06 11:23:24 -08:00
Dan Helfman
50096296da
Revamp systemd credential syntax to be more consistent with constants ( #966 ).
2025-02-10 22:01:23 -08:00
Dan Helfman
775385e688
Get unit tests passing again ( #966 ).
2025-02-09 22:44:38 -08:00
Dan Helfman
5baf091853
Add automated tests for the systemd credential hook ( #966 ).
2025-02-08 10:42:11 -08:00
Dan Helfman
31b6e21139
Fix end-to-end tests and update more log messages ( #635 ).
2025-01-26 19:03:40 -08:00
Dan Helfman
6b2f2b2ac4
Reorganize data source and monitoring hooks to make developing new hooks easier.
2024-11-27 08:50:34 -08:00
Dan Helfman
689643e5fa
Move bootstrap manifest file creation into a hook so it can actually clean up after itself.
2024-11-24 16:00:33 -08:00
Dan Helfman
47a8a95b29
Test path fix for finding schema file.
2024-11-20 08:18:06 -08:00
Dan Helfman
fd4f69f6c3
Rename repository actions for compatibility with recent Borg 2 changes ( #915 ).
2024-09-09 10:05:32 -07:00
Dan Helfman
1fe6ae83a8
Add a "key change-passphrase" action to change the passphrase protecting a repository key ( #911 ).
2024-09-01 11:13:39 -07:00
Dan Helfman
9647301b99
Add log sending for the Apprise logging hook, enabled by default.
2024-03-10 16:18:49 -07:00
Dan Helfman
c9f20eb260
Fix "--override" values containing deprecated section headers not actually overriding configuration options under deprecated section headers ( #829 ).
2024-02-15 21:12:42 -08:00
Dan Helfman
abf2b3a8c7
Elevate specific Borg warnings to errors or squash errors to warnings ( #798 ).
2024-01-21 11:34:40 -08:00
Dan Helfman
63198088c4
Store included configuration files within each backup archive in support of the "config bootstrap" action ( #736 ).
2024-01-09 13:47:20 -08:00
Dan Helfman
9d6025e902
Validate the configured action names in the "skip_actions" option ( #804 ).
2023-12-28 20:07:57 -08:00
Dan Helfman
3b99f7c75a
Constants support includes and command-line overrides ( #745 , #782 )
2023-11-19 21:13:35 -08:00
Dan Helfman
13cf863d89
Fix tests ( #783 ).
2023-11-07 10:09:31 -08:00