Florian Apolloner
c084f10fe2
Add support for a database backup label instead of host:port ( #1116 )
2025-09-15 20:02:31 +02:00
Dan Helfman
000d633590
Read and write data source dump metadata files within an archive ( #1136 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1136
2025-09-14 22:38:19 +00:00
Dan Helfman
084fbd2f16
PR "feedback": Adding a key to the dumps metadata JSON for clarity and expandability ( #1136 ).
2025-09-14 15:30:07 -07:00
Dan Helfman
3310d7c036
Adding missing template metadata.
2025-09-13 10:23:27 -07:00
Dan Helfman
fbfb7fc1f5
Use separate pull requests templates for each of GitHub and Gitea.
2025-09-13 10:16:39 -07:00
Dan Helfman
30b8aeb764
Merge branch 'main' into data-source-dump-metadata
2025-09-12 22:41:40 -07:00
Dan Helfman
2cae42a163
Always error and exit when the borgmatic runtime directory overlaps with the configured excludes ( #1122 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1144
2025-09-13 05:40:04 +00:00
Dan Helfman
c4c40af812
Account for the case where "store_config_files: false" and the runtime directory never gets added to patterns to begin with ( #1122 ).
2025-09-12 22:17:44 -07:00
Dan Helfman
5028fe9ff4
Bring doc string up to date and rename function for clarity. ( #1122 ).
2025-09-12 14:03:52 -07:00
Dan Helfman
f60007545b
Update automated tests ( #1122 ).
2025-09-12 12:54:38 -07:00
Dan Helfman
947dc77a50
Always error and exit when the borgmatic runtime directory overlaps with the configured excludes ( #1122 ).
2025-09-12 11:21:11 -07:00
Dan Helfman
21ab371e9f
Clarify documentation about ZFS, Btrfs, and LVM snapshotting when a separate filesystem is mounted in the source directory.
2025-09-09 16:05:34 -07:00
Dan Helfman
b340ede9ac
Merge branch 'main' into data-source-dump-metadata
2025-09-09 09:22:54 -07:00
Dan Helfman
82e962eae2
Include bootstrapped configuration files in spot check ( #1143 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1143
2025-09-09 16:19:20 +00:00
Dan Helfman
85b198feb2
Get automated tests passing ( #1143 ).
2025-09-08 23:16:27 -07:00
Dan Helfman
e3f4b79e76
Fix the "spot" check to include borgmatic configuration files that were backed up to support the "bootstrap" action ( #1133 ).
2025-09-08 12:16:59 -07:00
Dan Helfman
627898cc23
Add tests for new code.
2025-09-05 16:02:23 -07:00
Dan Helfman
46381175ef
Code formatting.
2025-09-05 14:33:40 -07:00
Dan Helfman
d7205694db
Get existing restore tests passing (and add one test for the dumps metadata present case).
2025-09-05 14:21:53 -07:00
Dan Helfman
9bbce71673
Fix tests for database hooks.
2025-09-04 10:36:00 -07:00
Dan Helfman
6a1f2a4c86
Add SQLite dump metadata.
2025-09-03 20:20:11 -07:00
Dan Helfman
5a45a0cbc0
Add NEWS entry for dumps metadata.
2025-09-03 19:35:13 -07:00
Dan Helfman
03e3e0f5dd
Add MongoDB dumps metadata.
2025-09-03 19:31:54 -07:00
Dan Helfman
d40f728410
Add MySQL dump metadata.
2025-09-03 19:21:47 -07:00
Dan Helfman
049132377c
Add MariaDB dumps metadata.
2025-09-03 18:54:49 -07:00
Dan Helfman
fca647b3ae
Fix broken fallback to dump path introspection when dumps.json is missing. Also add additional logging.
2025-09-03 16:52:26 -07:00
Dan Helfman
e02c4be493
Add error handling docstrings.
2025-09-03 14:52:53 -07:00
Dan Helfman
b45c9628e7
Error handling.
2025-09-03 14:49:09 -07:00
Dan Helfman
09d702ee88
Merge branch 'main' into data-source-dump-metadata
2025-09-03 10:21:18 -07:00
Dan Helfman
eb971694bb
PR feedback.
2025-09-03 10:20:53 -07:00
Dan Helfman
f1a008ee18
Rephrase NEWS entry for clarity ( #1139 ).
2025-09-02 09:47:53 -07:00
Dan Helfman
563cb8441e
When making HTTP requests in monitoring hooks, set "borgmatic" as the user agent ( #1139 ).
2025-09-01 16:51:33 -07:00
Dan Helfman
030abfa13c
Read and write data source dump metadata files within an archive.
2025-08-27 15:53:42 -07:00
Dan Helfman
36d6619099
Create LVM snapshots as read-write to avoid an error when snapshotting ext4 filesystems with orphaned files that need recovery ( #1126 ).
2025-08-11 10:01:13 -07:00
Dan Helfman
5f468c4261
Use borg compact --dry-run in Borg 1.2.9+.
2025-08-04 21:41:19 -07:00
Dan Helfman
88ecb96b98
Document systemd configuration changes for the ZFS filesystem hook ( #1114 ).
2025-07-18 21:32:49 -07:00
Dan Helfman
099d30f044
Only run Python 3.9 and 3.13 in end-to-end tests since 3.11 has issues in Alpine.
2025-07-18 17:25:31 -07:00
Dan Helfman
5439e616f8
Hopefully fix end-to-end tests broken due to uv changes.
2025-07-18 17:09:48 -07:00
Dan Helfman
2d8b455e44
Switched from pipx to uv for installing development tools, and added tox-uv for speeding up test environment creation.
2025-07-18 15:16:45 -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
Dan Helfman
ea72f1c367
Fix a bug in which Borg hangs during database backup when different filesystems are in use ( #1118 ).
2025-07-15 13:05:03 -07:00
Dan Helfman
34f677dba1
Add a flake8 plugin that enforces a blank line after if/for/while/with/try blocks.
2025-06-30 22:04:05 -07:00
Dan Helfman
3eed3191e8
Add a flake8 extension to tests to detect commented out code.
2025-06-30 21:42:38 -07:00
Dan Helfman
1a33e5fa1e
Bump version for release.
2.0.7
2025-06-30 18:04:06 -07:00
Dan Helfman
c2d2ce18a2
Clarify documentation about interacion between "--repository" flag and command hooks ( #1112 ).
2025-06-30 18:02:02 -07:00
Dan Helfman
1b62be0949
Fix a bug in which quoted "extra_borg_options" values containing spaces are passed to Borg incorrectly. Add a "--comment" flag to the "create" action for creating an archive with a comment ( #1108 ).
2025-06-30 16:16:53 -07:00
Dan Helfman
392fbcd19f
Add missing Bandit configuration file.
2025-06-27 23:00:35 -07:00
Dan Helfman
0d54fda27a
Use the Bandit security analysis tool when running tests.
...
SECURITY: Add timeouts to all monitoring hooks to prevent hangs on network requests.
SECURITY: For the "spot" check, use a more secure source of randomness when selecting paths to check.
2025-06-27 22:30:00 -07:00
Dan Helfman
1e6fba6e99
Ignore Btrfs subvolumes whose read-only status can't be determined ( #1048 ).
2025-06-27 19:41:14 -07:00
Dan Helfman
a1b14d58af
Support Btrfs subvolume paths in "source_directories" even when the subvolume is mounted elsewhere ( #1043 ).
...
Reviewed-on: https://projects.torsion.org/borgmatic-collective/borgmatic/pulls/1113
2025-06-28 02:23:19 +00:00