Dan Helfman
|
468b2537f1
|
Add a "steps" option to run command hooks around particular sub-action steps like individual checks (#1134).
|
2025-09-26 14:40:27 -07:00 |
|
Dan Helfman
|
a388b17271
|
No longer defaulting Dump(hostname=...) to "localhost" (#1116).
|
2025-09-18 19:22:45 -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
|
0e90087dc4
|
Finalize container support
|
2025-09-15 22:16:49 +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
|
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
|
133a11c647
|
add support for container names/id when dumping databases.
|
2025-09-15 20:02:31 +02:00 |
|
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
|
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
|
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
|
9bbce71673
|
Fix tests for database hooks.
|
2025-09-04 10:36:00 -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
|
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
|
3eed3191e8
|
Add a flake8 extension to tests to detect commented out code.
|
2025-06-30 21:42:38 -07:00 |
|
Dan Helfman
|
05b34d4b56
|
Fix unit/integration tests and add coverage (#1043).
|
2025-06-27 12:37:03 -07:00 |
|
Dan Helfman
|
5966022b67
|
Fix for the LVM hook erroring when the "--dry-run" flag is used (#1093).
|
2025-05-12 11:50:55 -07:00 |
|
 Florian Apollonerandapollo13
|
3d44e95c1a
|
Explicitly close filedescriptors when invoking lvm commands. Closes #1068
|
2025-04-30 07:42:55 +00:00 |
|
Dan Helfman
|
091e9fa9ee
|
Add a "password_transport" option to the MariaDB and MySQL database hooks for customizing how borgmatic transmits passwords to the database client (#1033).
|
2025-04-29 14:19:15 -07:00 |
|
Dan Helfman
|
6f07402407
|
Fix end-to-end tests and don't stat() directories that don't exist (#1048).
|
2025-03-30 19:04:36 -07:00 |
|
Dan Helfman
|
ab01e97a5e
|
Fix a "no such file or directory" error in ZFS, Btrfs, and LVM hooks with nested directories that reside on separate devices/filesystems (#1048).
|
2025-03-30 14:55:54 -07:00 |
|
Dan Helfman
|
23efbb8df3
|
Fix line wrapping / code style (#837).
|
2025-03-25 22:31:50 -07:00 |
|
Gautam Aggarwal
|
532a97623c
|
Added test_build_restore_command_prevents_shell_injection()
|
2025-03-25 04:50:45 +00:00 |
|
Gautam Aggarwal
|
6a470be924
|
Made some changes in test file
|
2025-03-24 03:53:42 +00:00 |
|
Gautam Aggarwal
|
d651813601
|
Custom command options for MongoDB hook #837
|
2025-03-24 03:39:26 +00:00 |
|
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 |
|
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
|
2a0319f02f
|
Merge branch 'main' into unified-command-hooks.
|
2025-03-10 10:35: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
|
6a96a78cf1
|
Fix existing tests (#1019).
|
2025-03-07 22:58:25 -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 |
|
Geoff Holden
|
a926b413bc
|
Updating automated test, and fixing linting errors.
|
2025-03-06 09:00:33 -03:30 |
|
Dan Helfman
|
55c0ab1610
|
Add "tls" options to the MariaDB and MySQL database hooks.
|
2025-03-03 10:07:03 -08:00 |
|
Dan Helfman
|
54afe87a9f
|
Add a "compression" option to the PostgreSQL database hook (#975).
|
2025-03-01 17:29:16 -08:00 |
|
Dan Helfman
|
25b6a49df7
|
Send database passwords to MongoDB via anonymous pipe (#1013).
|
2025-03-01 10:04:04 -08:00 |
|
Dan Helfman
|
06b065cb09
|
Add missing test coverage (#1009).
|
2025-02-28 18:28:09 -08:00 |
|
Dan Helfman
|
1e5c256d54
|
Get tests passing again (#1009).
|
2025-02-28 14:40:00 -08:00 |
|
Dan Helfman
|
48a4fbaa89
|
Add missing test coverage for defaults file function (#1009).
|
2025-02-28 09:21:01 -08:00 |
|
Dan Helfman
|
1e274d7153
|
Add some missing test mocking (#1009).
|
2025-02-28 08:59:38 -08:00 |
|
Dan Helfman
|
c41b743819
|
Get existing unit tests passing (#1009).
|
2025-02-28 08:37:03 -08:00 |
|
Dan Helfman
|
bcc463688a
|
When getting all ZFS dataset mount points, deduplicate and filter out "none".
|
2025-02-23 15:46:39 -08:00 |
|
Dan Helfman
|
4ee2603fef
|
Merge branch 'main' into passphrase-via-file-descriptor
|
2025-02-21 20:26:48 -08:00 |
|
Dan Helfman
|
9ba78fa33b
|
Don't try to unmount empty directories (#1001).
|
2025-02-21 17:59:45 -08:00 |
|
Dan Helfman
|
e69c686abf
|
Get all unit/integration tests passing (#1001).
|
2025-02-21 11:32:57 -08:00 |
|
Dan Helfman
|
0210bf76bc
|
Fix ZFS and Btrfs tests (#1001).
|
2025-02-20 22:58:05 -08:00 |
|
Dan Helfman
|
07ecc0ffd6
|
Send the "encryption_passphrase" option to Borg via an anonymous pipe.
|
2025-02-17 11:03:36 -08:00 |
|