0
0
Fork 0
mirror of https://projects.torsion.org/witten/borgmatic.git synced 2025-05-14 04:32:16 +00:00
Commit graph

42 commits

Author SHA1 Message Date
Dan Helfman
49839e884a Add configuration options for logging and verbosity (). 2025-04-04 10:11:00 -07:00
Dan Helfman
cf477bdc1c Fix broken list_details, progress, and statistics options (). 2025-03-31 11:33:56 -07:00
Dan Helfman
07ecc0ffd6 Send the "encryption_passphrase" option to Borg via an anonymous pipe. 2025-02-17 11:03:36 -08:00
Dan Helfman
13884bd448 Apply the "umask" option to all relevant actions, not just some of them (). 2024-11-18 09:07:29 -08:00
Dan Helfman
13878be254 Move the default check state directory (, ). Deprecate the "borgmatic_source_directory" option in favor of "borgmatic_runtime_directory" and "borgmatic_state_directory" (). 2024-10-30 22:36:43 -07:00
Dan Helfman
bd4c672382 Apply the "working_directory" option to all actions, not just "create". Also fix the glob expansion of "source_directories" values to respect the "working_directory" option (). 2024-10-20 16:04:41 -07:00
Dan Helfman
abf2b3a8c7 Elevate specific Borg warnings to errors or squash errors to warnings (). 2024-01-21 11:34:40 -08:00
Dan Helfman
8ad7b473f1 When an archive filter causes no matching archives for the "rlist" or "info" actions, warn (). 2023-10-26 22:12:13 -07:00
Dan Helfman
e8dbca9d68 Truncate long command output without assuming an encoded byte string. 2023-07-10 11:16:18 -07:00
Dan Helfman
48b6a1679a Remove sections (). 2023-07-08 23:14:30 -07:00
Dan Helfman
92a2230a07 Add support for logging each log line as a JSON object via global "--log-json" flag (). 2023-05-08 23:00:49 -07:00
Dan Helfman
5dbb71709c Upgrade test requirements and code style requirements. Auto-reformat code accordingly. 2023-04-14 19:35:24 -07:00
Dan Helfman
616eb6b6da Fix error with "info --match-archives" and fix "--match-archives" overriding logic (). 2023-04-04 21:25:10 -07:00
Dan Helfman
9712d00680 Add "match_archives" option (). 2023-04-01 23:57:55 -07:00
Dan Helfman
3f78ac4085 Automatically use the "archive_name_format" option to filter which archives get used for borgmatic actions that operate on multiple archives (). 2023-03-31 15:21:08 -07:00
Divyansh Singh
ec9def4e71 rename repository arg to repository_path in all borg actions 2023-03-26 23:52:25 +05:30
Dan Helfman
c657764367 Fix logs that interfere with JSON output by making warnings go to stderr instead of stdout (). 2022-12-02 12:12:10 -08:00
Dan Helfman
9c42e7e817 Fix regression in which "check" action errored on certain systems (, ). 2022-10-14 16:19:26 -07:00
Dan Helfman
2774c2e4c0 Add support for Borg 2's "--match-archives" flag (replaces "--glob-archives") (). 2022-10-03 22:50:37 -07:00
Dan Helfman
9e64d847ef Fix regression in which "borgmatic info --archive ..." showed repository info instead of archive info with Borg 1 (). 2022-08-30 20:42:42 -07:00
Dan Helfman
57009e22b5 Use flag-related utility functions in info action (). 2022-08-17 17:11:02 -07:00
Dan Helfman
3ab7a3b64a Replace use of --prefix with --glob-archives in info action (). 2022-08-17 15:36:19 -07:00
Dan Helfman
622caa0c21 Support for Borg 2's rcreate and rinfo sub-commands (). 2022-08-12 14:53:20 -07:00
Dan Helfman
457ed80744 Fix environment variable plumbing so options in one configuration file aren't used for others (). 2022-06-30 13:42:17 -07:00
Dan Helfman
d88f321cef Fix legitimate database dump command errors (exit code 1) not being treated as errors by borgmatic (). 2020-05-14 22:38:38 -07:00
Dan Helfman
00f62ca023 Fix for "before_backup" hook not triggering an error when the command contains "borg" and has an exit code of 1 (). 2019-11-30 16:55:05 -08:00
Dan Helfman
c085bacccf Reorder arguments passed to Borg to fix duplicate directories when using Borg patterns (). 2019-09-12 15:27:04 -07:00
Dan Helfman
86dbc00cbe Support for several more borgmatic/borg info command-line flags (). 2019-06-25 10:46:55 -07:00
Dan Helfman
b3aa6af859 Don't color syslog output (). 2019-06-17 11:53:08 -07:00
Dan Helfman
a74ad5475e Run all Borg commands such that they log to syslog as well as console. 2019-06-12 20:56:20 -07:00
Dan Helfman
f5582b1754 Move borgmatic.borg.execute module up a level for broader use. 2019-06-12 12:13:59 -07:00
Dan Helfman
1af95714c2 Collapse two execute_command() parameters into one output log level parameter. 2019-06-12 12:11:36 -07:00
Dan Helfman
9a5e7a3abb Successfully convert Borg output to Python logging entries. 2019-06-11 16:42:04 -07:00
Luke Murphy
1c0dc3f904
Run isort over the source 2019-05-14 18:59:19 +02:00
Luke Murphy
1f524d6c87
Add borgmatic custom logger 2019-05-13 13:40:18 +02:00
Dan Helfman
1c88dda76a Fix for invalid JSON output when using multiple borgmatic configuration files (). 2019-04-02 22:30:14 -07:00
Dan Helfman
76d6a69f5a Use Black code formatter as part of running automated tests. 2018-09-29 22:45:00 -07:00
floli
7252b8d614 Rework logging/verbosity system ()
Looks great, merged! Thanks again for all your hard work here.
2018-09-08 20:53:37 +00:00
Dan Helfman
7d40a448cb Pass --show-rc option to Borg when at highest verbosity level (). 2018-08-19 12:44:40 -07:00
Dan Helfman
282e9565c9 Mentioning new --info --json option in NEWS. 2018-07-28 20:24:19 -07:00
Thomas LÉVEIL
b714ffd48b add support for --info --json () 2018-07-29 03:17:45 +00:00
Dan Helfman
765e343c71 Support for Borg --info via borgmatic command-line (). 2018-05-26 16:19:05 -07:00