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
1b471f5346
Code formatting ( #1054 ).
2025-12-19 23:20:38 -08:00
Dan Helfman
9428a92297
Fix broken Btrfs end-to-end test ( #1054 ).
2025-12-19 23:10:33 -08:00
Dan Helfman
c0d4489c25
Add unnecessary fake Btrfs read-only flag in end-to-end test ( #1054 ).
2025-12-19 19:15:09 -08:00
Dan Helfman
b4ea45ab74
Allow the Btrfs hook to create and delete snapshots even when running as a non-root user ( #1054 ).
2025-12-19 19:10:31 -08:00
Dan Helfman
6ae9b973fc
For the MariaDB and MySQL database hooks, creates a consistent snapshot by dumping all tables in a single transaction ( #1193 ).
2025-12-19 11:53:30 -08:00
Dan Helfman
01c7d0a0db
Fix that errors and exits when the borgmatic runtime directory is partially excluded by configured excludes ( #1203 ).
2025-12-18 19:04:42 -08:00
Dan Helfman
a31f913f54
For the MariaDB and MySQL database hooks, add a "socket_path" option for Unix socket database connections ( #1193 ).
2025-12-14 21:13:21 -08:00
Dan Helfman
c8307065fa
Add a "file_list_format" option for setting the "list" action's output format and an "archive_list_format" option for setting the "repo-list" action's format ( #1179 ).
2025-12-12 22:31:41 -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
Dan Helfman
2a97ac0174
Fix for over-aggressive deduplication of source directories that contain the borgmatic runtime directory ( #1192 ).
2025-12-01 17:14:31 -08:00
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
Jackson
dec47298bd
somehow make a test work
2025-11-22 08:03:40 +01: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
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