Dan Helfman
c2409d9968
Remove the "dump_data_sources" command hook, as it doesn't really solve the use case and works differently than all the other command hooks ( #790 ).
2025-03-20 11:13:37 -07:00
Dan Helfman
624a7de622
Document "after" command hooks running in case of error and make sure that happens in case of "before" hook error ( #790 ).
2025-03-20 10:57:39 -07:00
Dan Helfman
c926f0bd5d
Clarify documentation for dump_data_sources command hook ( #790 ).
2025-03-17 10:31:34 -07:00
Dan Helfman
1d5713c4c5
Updated outdated schema comment referencing ~/.borgmatic path ( #836 ).
2025-03-15 21:42:45 -07:00
Dan Helfman
f9612cc685
Add SQLite custom command option to NEWS ( #836 ).
2025-03-15 21:37:23 -07:00
Dan Helfman
5742a1a2d9
Add custom command option for SQLite hook ( #836 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1027
2025-03-16 04:34:15 +00:00
Nish_
c84815bfb0
add custom dump and restore commands for sqlite hook
...
Signed-off-by: Nish_ <120EE0980@nitrkl.ac.in >
2025-03-16 09:07:49 +05:30
Dan Helfman
1c92d84e09
Add Borg 2 "prune --stats" flag change to NEWS ( #1010 ).
2025-03-15 10:02:47 -07:00
Dan Helfman
1d94fb501f
Conditionally pass --stats to prune based on Borg version ( #1010 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1026
2025-03-15 16:59:50 +00:00
Nish_
1b4c94ad1e
Add feature toggle to pass --stats to prune on Borg 1, but not Borg 2
...
Signed-off-by: Nish_ <120EE0980@nitrkl.ac.in >
2025-03-15 09:56:14 +05:30
Dan Helfman
901e668c76
Document a database use case involving a temporary database client container ( #1020 ).
2025-03-12 17:10:35 -07:00
Dan Helfman
bcb224a243
Claim another implemented ticket in NEWS ( #821 ).
2025-03-12 14:31:13 -07:00
Dan Helfman
6b6e1e0336
Make the "configuration" command hook support "error" hooks and also pinging monitoring on failure ( #790 ).
2025-03-12 14:13:29 -07:00
Dan Helfman
f5c9bc4fa9
Add a "not yet released" note on 2.0.0 in docs ( #790 ).
2025-03-11 16:46:07 -07:00
Dan Helfman
cdd0e6f052
Fix incorrect kwarg in LVM hook ( #790 ).
2025-03-11 14:42:25 -07:00
Dan Helfman
7bdbadbac2
Deprecate all "before_*", "after_*" and "on_error" command hooks in favor of more flexible "commands:" ( #790 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1019
2025-03-11 21:22:33 +00:00
Dan Helfman
d3413e0907
Documentation clarification ( #1019 ).
2025-03-11 14:20:42 -07:00
Dan Helfman
8a20ee7304
Fix typo in documentation ( #1019 ).
2025-03-11 14:08:53 -07:00
Dan Helfman
325f53c286
Context tweaks + mention configuration upgrade in command hook documentation ( #1019 ).
2025-03-11 14:07:06 -07:00
Dan Helfman
b4d24798bf
More command hook documentation updates ( #1019 ).
2025-03-11 13:03:58 -07:00
Dan Helfman
7965eb9de3
Correctly handle errors in command hooks ( #1019 ).
2025-03-11 11:36:28 -07:00
Dan Helfman
8817364e6d
Documentation on command hooks ( #1019 ).
2025-03-10 22:38:48 -07:00
Dan Helfman
965740c778
Update version of command hooks since they didn't get released in 1.9.14 ( #1019 ).
2025-03-10 10:37:09 -07:00
Dan Helfman
2a0319f02f
Merge branch 'main' into unified-command-hooks.
2025-03-10 10:35:36 -07:00
Dan Helfman
fbdb09b87d
Bump version for release.
1.9.14
2025-03-10 10:17:36 -07:00
Dan Helfman
bec5a0c0ca
Fix end-to-end tests for Btrfs ( #1023 ).
2025-03-10 10:15:23 -07:00
Dan Helfman
4ee7f72696
Fix an error in the Btrfs hook when attempting to snapshot a read-only subvolume ( #1023 ).
2025-03-09 23:04:55 -07:00
Dan Helfman
9941d7dc57
More docs and command hook context tweaks ( #1019 ).
2025-03-09 17:01:46 -07:00
Dan Helfman
ec88bb2e9c
Merge branch 'main' into unified-command-hooks.
2025-03-09 13:37:17 -07:00
Dan Helfman
68b6d01071
Fix a regression in which the "exclude_patterns" option didn't expand "~" ( #1021 ).
2025-03-09 13:35:22 -07:00
Dan Helfman
b52339652f
Initial command hooks documentation work ( #1019 ).
2025-03-09 09:57:13 -07:00
Dan Helfman
4fd22b2df0
Merge branch 'main' into unified-command-hooks.
2025-03-08 21:02:04 -08:00
Dan Helfman
86b138e73b
Clarify command hook documentation.
2025-03-08 21:00:58 -08:00
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
6a96a78cf1
Fix existing tests ( #1019 ).
2025-03-07 22:58:25 -08:00
Dan Helfman
e06c6740f2
Switch to context manager for running "dump_data_sources" before/after hooks ( #790 ).
2025-03-07 10:33:39 -08:00
Dan Helfman
10bd1c7b41
Remove restore_data_source_dump as a command hook for now ( #790 ).
2025-03-06 22:53:19 -08:00
Dan Helfman
d4f48a3a9e
Initial work on unified command hooks ( #790 ).
2025-03-06 11:23:24 -08:00
Dan Helfman
c76a108422
Link to Zabbix documentation from NEWS.
2025-03-06 10:37:00 -08:00
Dan Helfman
eb5dc128bf
Fix incorrect test name ( #1017 ).
2025-03-06 10:34:28 -08:00
Dan Helfman
1d486d024b
Fix a regression in which some MariaDB/MySQL passwords were not escaped correctly ( #1017 ).
2025-03-06 10:32:38 -08:00
Dan Helfman
5a8f27d75c
Add single quotes around the MariaDB password ( #1017 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1017
2025-03-06 18:01:43 +00:00
Geoff Holden
a926b413bc
Updating automated test, and fixing linting errors.
2025-03-06 09:00:33 -03:30
Geoff Holden
18ffd96d62
Add single quotes around the password.
...
When the DB password uses some special characters, the
defaults-extra-file can be incorrect. In the case of a password with
the # symbol, anything after that is considered a comment. The single
quotes around the password rectify this.
2025-03-05 22:51:41 -03:30
Dan Helfman
c0135864c2
With the PagerDuty monitoring hook, send borgmatic logs to PagerDuty so they show up in the incident UI ( #409 ).
2025-03-04 08:55:09 -08:00
Dan Helfman
ddfd3c6ca1
Clarify Zabbix monitoring hook documentation about creating items ( #936 ).
2025-03-03 16:02:22 -08:00
Dan Helfman
dbe82ff11e
Bump version for release.
1.9.13
2025-03-03 10:21:15 -08:00
Dan Helfman
55c0ab1610
Add "tls" options to the MariaDB and MySQL database hooks.
2025-03-03 10:07:03 -08:00
Dan Helfman
1f86100f26
NEWS wording tweaks.
2025-03-02 20:10:20 -08:00