Dan Helfman
8f2ae5e9a1
Fix a regression in the Btrfs hook in which subvolume snapshots didn't get cleaned up until the start of the next borgmatic run ( #1186 ).
2025-11-26 13:59:23 -08:00
Dan Helfman
a7356f2360
Fix for the database dumps hooks not respecting the "working_directory" option ( #1127 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1129
2025-11-19 18:40:50 +00:00
Dan Helfman
66e567f78c
Hard-code default configuration paths in command-line flag help ( #1184 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1184
2025-11-19 06:25:56 +00:00
Tim Ruffing
573405bb88
Hard-code default config paths in help strings
...
This fixes a bug with fish completions. Before this commit,
`borgmatic --fish-completion` would generate a fish completion script
with an expanded XDG_CONFIG_HOME (if this variable is set).
This is problematic for package maintainers if the variable is set
during the creation of a package.
Moreover, it is problematic if the user has set this variable because
the fish completion scripts checks its own consistency with `borg
--fish-completion` during startup to detect version mismatches. If the
user has a packaged fish completion file with "~/.config/$HOME" in it,
this won't match the output of `borg --fish-completion` because the
latter contains the expansion of $XDG_CONFIG_HOME. As a result, the
script will incorrectly conclude that it is outdated.
2025-11-17 15:42:30 +01:00
Dan Helfman
0e9193c46b
Add an "ask_for_password" option to the KeePassXC credential hook for disabling KeePassXC's password prompt ( #1181 ).
2025-11-14 21:20:21 -08:00
bockulator
ce7f0226be
Mock get_working_directory() calls in data source hook tests
2025-11-11 15:36:51 +01:00
bockulator
51ef9c7708
Fix database dumps hooks not respecting working_directory
2025-11-11 14:22:34 +01:00
Dan Helfman
14a8055e71
In the SQLite database hook, run SQLite such that it exits upon encountering an error instead of, you know, not doing that.
2025-11-07 23:22:44 -08:00
Dan Helfman
859c338d06
Improve documentation search results for individual configuration options.
2025-11-04 22:34:15 -08:00
Dan Helfman
3d15c51039
Fix the "--repository" flag not applying to command hooks ( #1176 ).
2025-11-02 19:32:08 -08:00
Tom Janssen
7cca1358fb
incorporate feedback
2025-10-29 09:50:55 +01:00
Tom Janssen
d0b5244888
add environment option
2025-10-28 16:52:50 +01: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
0c4222037d
Fix for the "list", "info", and "delete" options in "extra_borg_options" being ignored when "--archive" is omitted with Borg 1.x ( #1168 ).
2025-10-24 22:57:23 -07:00
Simon Pilkington
68864395b5
Support multiple configured systemd service directories (RuntimeDirectory, StateDirectory)
2025-10-24 08:20:59 +02: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
4017897b1a
For the MariaDB and MySQL database hooks, add a "skip_names" option to ignore particular databases when dumping "all" ( #973 ).
2025-10-16 14:48: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
173ba00caa
Fix to snapshot both parent and child volumes/filesystems instead of just the parent ( #1156 ).
2025-10-04 14:35:42 -07:00
Dan Helfman
75405bed89
Cache Btrfs get property commands ( #1105 ).
2025-10-01 22:50:33 -07:00
Dan Helfman
c989b73103
Various cleanup ( #1105 ).
2025-10-01 22:28:54 -07:00
Dan Helfman
35feeb4615
Fix restore and get end-to-end tests passing ( #1105 ).
2025-09-30 21:56:04 -07:00
Dan Helfman
5dca281439
Simplify logic around checking for read-only Btrfs subvolumes ( #1105 ).
2025-09-30 12:19:57 -07:00
Dan Helfman
e2cdcba4e7
Get tests passing ( #1105 ).
2025-09-29 23:06:49 -07:00
Dan Helfman
595c639d25
Merge branch 'main' into btrfs-remove-findmnt
2025-09-28 17:55:40 -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
98ddb3e535
Fix several existing tests ( #1105 ).
2025-09-28 15:45:21 -07:00
Dan Helfman
1192451718
Fix snapshotting in the ZFS, Btrfs, and LVM hooks to play nicely with the Borg 1.4+ "slashdot" hack within source directory paths ( #1151 ).
2025-09-25 10:24:12 -07:00
Dan Helfman
4f0162d5f2
Add loading of systemd credentials even when running borgmatic outside of a systemd service ( #1123 ).
2025-09-24 10:34:20 -07:00
Dan Helfman
22b77a4262
Merge branch 'fix-borg-2-latest-archive'
2025-09-19 14:32:44 -07:00
Dan Helfman
f15e8282ab
Fix a broken "create" action and "--archive latest" flag when multiple archives share the same name with Borg 2 ( #1146 ).
2025-09-19 14:30:33 -07:00
Dan Helfman
a0e2a98735
Treat configuration file permissions issues as errors instead of warnings.
2025-09-19 10:31:31 -07:00
Dan Helfman
4ced5150f4
Merge branch 'main' into fix-borg-2-latest-archive
2025-09-18 19:25:49 -07:00
Dan Helfman
a388b17271
No longer defaulting Dump(hostname=...) to "localhost" ( #1116 ).
2025-09-18 19:22:45 -07:00
Dan Helfman
f3d42d081e
Merge branch 'main' into fix-borg-2-latest-archive
2025-09-17 23:00:27 -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
Florian Apolloner
abad73d605
final round of fixes.
2025-09-17 20:17:31 +02:00
Florian Apolloner
4de879d86e
address some review comments
2025-09-17 08:46:02 +02:00
Florian Apolloner
0e90087dc4
Finalize container support
2025-09-15 22:16:49 +02:00
Florian Apolloner
56a3f6d854
address more review comments
2025-09-15 20:02:31 +02:00
Florian Apolloner
8639b73f80
fix label handling and improve unittests
2025-09-15 20:02:31 +02:00
Florian Apolloner
eef264dcc5
test improvements
2025-09-15 20:02:31 +02:00
Florian Apolloner
b306cac5c1
raise ValueError if json decode fails when getting the container ip
2025-09-15 20:02:31 +02:00
Florian Apolloner
0d190016d3
rename utils.py to config.py
2025-09-15 20:02:31 +02:00
Florian Apolloner
3811a9f57b
more test fixes and first stab at end-to-end tests
2025-09-15 20:02:31 +02:00
Florian Apolloner
a2c9bb12e5
test fixes
2025-09-15 20:02:31 +02:00
Florian Apolloner
04cc58a5c7
fixes and more tests.
2025-09-15 20:02:31 +02:00
Florian Apolloner
db1c6f548f
add support for original-label and fix the tests from the previous changes.
2025-09-15 20:02:31 +02:00
Florian Apolloner
133a11c647
add support for container names/id when dumping databases.
2025-09-15 20:02:31 +02:00