Compare commits

...

767 Commits
master ... main

Author SHA1 Message Date
d44dc93509 Fix for a potential traceback (TypeError) during the handling of another error.
All checks were successful
build / test (push) Successful in 5m56s
build / docs (push) Successful in 1m32s
2024-07-14 10:07:15 -07:00
31778fd3bf Fix error in borgmatic rcreate/init on empty repository directory with Borg 1.4 (#896).
All checks were successful
build / test (push) Successful in 4m17s
build / docs (push) Successful in 51s
2024-07-08 11:24:48 -07:00
4313f90dd8 Add a couple of more code style guidelines.
All checks were successful
build / test (push) Successful in 5m55s
build / docs (push) Successful in 1m35s
2024-07-07 20:49:27 -07:00
1f82ea2798 Attempt to fix documentation build.
All checks were successful
build / test (push) Successful in 4m15s
build / docs (push) Successful in 52s
2024-07-06 10:23:10 -07:00
148536d867 Upgrade certifi in test requirements.
Some checks failed
build / test (push) Successful in 4m17s
build / docs (push) Has been cancelled
2024-07-06 10:17:53 -07:00
197f0a521d Add a recent contributors section to the documentation.
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-07-06 10:15:16 -07:00
0d8e352033 Update documentation link to Borg 1.4.0 exit codes.
All checks were successful
build / test (push) Successful in 4m14s
build / docs (push) Successful in 52s
2024-07-04 20:21:40 -07:00
20a3995977 Bump version for release.
All checks were successful
build / test (push) Successful in 4m14s
build / docs (push) Successful in 50s
2024-07-04 08:54:09 -07:00
66aa953371 Add additional tests (#298).
All checks were successful
build / test (push) Successful in 4m15s
build / docs (push) Successful in 50s
2024-07-04 08:42:05 -07:00
ba053de8f7 Add delete and rdelete actions (#298).
All checks were successful
build / test (push) Successful in 6m3s
build / docs (push) Successful in 1m20s
Reviewed-on: borgmatic-collective/borgmatic#893
2024-07-04 06:07:30 +00:00
2f844d65d5 Automated tests complete (#298). 2024-07-02 23:11:58 -07:00
2dca5e1834 Initial automated tests for delete action (#298). 2024-07-02 20:26:29 -07:00
36197ce027 Dry run support for delete/rdelete actions (#298). 2024-06-28 20:56:42 -07:00
e9a0226ee0 Initial work on delete/rdelete actions (#298). 2024-06-28 16:20:10 -07:00
fc3b4a653e Add a development documentation note about using fully qualified imports. 2024-06-28 15:00:25 -07:00
3673abb01e Update documentation links that link to beta versions of Borg docs.
All checks were successful
build / test (push) Successful in 4m17s
build / docs (push) Successful in 51s
2024-06-27 14:42:53 -07:00
ac4277d36c Add "new in version" label to Uptime Kuma documentation (#885).
All checks were successful
build / test (push) Successful in 4m15s
build / docs (push) Successful in 1m19s
2024-06-27 09:29:53 -07:00
21cbc99d9e Fix uptime_kuma monitor not being called after name change (#891).
Some checks failed
build / test (push) Successful in 6m3s
build / docs (push) Has been cancelled
Reviewed-on: borgmatic-collective/borgmatic#891
2024-06-27 16:27:07 +00:00
Paul Wilde
d080bf2ae9 [bugfix] uptime_kuma monitor is not called after name change 2024-06-27 12:49:07 +01:00
2a1c790655 Minor reorganization of borgmatic source code reference.
All checks were successful
build / test (push) Successful in 4m17s
build / docs (push) Successful in 52s
2024-06-26 19:39:32 -07:00
410204a70d Formatting, whitespace, and minor fixes for Uptime Kuma hook (#885).
All checks were successful
build / test (push) Successful in 4m16s
build / docs (push) Successful in 1m0s
2024-06-26 16:09:14 -07:00
4a0c167c1c Add Uptime Kuma monitoring hook (#885).
All checks were successful
build / test (push) Successful in 4m15s
build / docs (push) Successful in 1m2s
Reviewed-on: borgmatic-collective/borgmatic#885
Reviewed-by: Dan Helfman <witten@torsion.org>
2024-06-26 22:50:11 +00:00
593c956d33 Add an "only_run_on" option to consistency checks so you can limit a check to running on particular days of the week (#785).
All checks were successful
build / test (push) Successful in 6m0s
build / docs (push) Successful in 1m28s
2024-06-26 14:57:59 -07:00
d18cb89493 Merge branch 'main' into main 2024-06-26 19:58:56 +00:00
Paul Wilde
067c79c606 renamed push_monitor back to ping_monitor in uptime kuma hook 2024-06-26 20:57:37 +01:00
ebde88ccaa Fix the Healthchecks ping body size limit, restoring it to the documented 100,000 bytes (#889).
All checks were successful
build / test (push) Successful in 6m0s
build / docs (push) Successful in 1m28s
2024-06-25 12:45:44 -07:00
cc402487d9 Minor development documentation clarifications.
All checks were successful
build / test (push) Successful in 5m55s
build / docs (push) Successful in 1m29s
2024-06-24 10:48:13 -07:00
d108e6102b some minor corrections in how to uptime kuma docs 2024-06-24 12:00:22 +01:00
3e60043632 some minor corrections in how to uptime kuma docs 2024-06-24 11:57:12 +01:00
a8d691169a some minor corrections in how to uptime kuma docs 2024-06-24 11:54:34 +01:00
939c2f6718 some minor corrections in how to uptime kuma docs 2024-06-24 11:54:12 +01:00
0837059e21 some minor corrections in how to uptime kuma docs 2024-06-24 11:51:41 +01:00
0ee166fdf0 added Uptime Kuma how-to docs 2024-06-24 11:46:38 +01:00
b50996b864 change uptimekuma method names to 'push_*' instead of 'ping' 2024-06-24 11:07:09 +01:00
8f423c7293 black formatting on uptimekuma hook 2024-06-24 10:46:04 +01:00
14ce88e04b black formatting on test_uptimekuma.py 2024-06-24 10:37:44 +01:00
f97968b72d variable renaming 2024-06-24 10:34:52 +01:00
612f867ea8 Merge remote-tracking branch 'upstream/main' 2024-06-24 10:28:02 +01:00
303d6609e4 removed unecessary tests for 'default urls' as these would never really be used anyway 2024-06-24 10:27:23 +01:00
bf7b163ccd added early out for dry run 2024-06-24 10:25:08 +01:00
4bd798f0ad alpha ordered dispatch monitor hook names (including loki) 2024-06-24 10:22:27 +01:00
52aa7c5d21 switched to using full 'push_url' instead of separate 'server' and 'push_code' 2024-06-24 10:21:31 +01:00
f5a1dd31c8 Fix PagerDuty hook traceback with Python < 3.10 (#886).
All checks were successful
build / test (push) Successful in 4m17s
build / docs (push) Successful in 50s
2024-06-23 18:28:41 -07:00
c41000a4b1 Bump version for release.
Some checks failed
build / test (push) Failing after 1m19s
build / docs (push) Has been skipped
2024-06-23 17:02:13 -07:00
c3f8b05a68 Fix test warning in PagerDuty hook. 2024-06-23 17:01:54 -07:00
f4fcf92bd6 Add an "upload_buffer_size" option to set the size of the upload buffer used in "create" action (#865).
All checks were successful
build / test (push) Successful in 6m17s
build / docs (push) Successful in 1m28s
2024-06-23 16:26:22 -07:00
a2c139245d Add a "--max-duration" flag to the "check" action and a "max_duration" option to the repository check configuration (#817).
All checks were successful
build / test (push) Successful in 6m14s
build / docs (push) Successful in 1m29s
2024-06-22 16:19:06 -07:00
Paul Wilde
a509cdedd5 Added Uptime Kuma tests 2024-06-22 10:46:17 +01:00
Paul Wilde
dcbc30b164 WIP add uptime kuma tests 2024-06-22 10:19:34 +01:00
Paul Wilde
5ab99b4cc0 Added Uptime Kuma image to readme 2024-06-21 21:21:04 +01:00
Paul Wilde
27c90b7cf1 Added Uptime Kuma hook 2024-06-21 21:10:14 +01:00
Paul Wilde
6eb76454bb WIP added some schema info for uptime kuma 2024-06-21 17:00:44 +01:00
Paul Wilde
83bcea98dc WIP added some schema info for uptime kuma 2024-06-21 16:57:20 +01:00
Paul Wilde
4db09a73b3 WIP implement Uptime Kuma hook 2024-06-21 16:47:51 +01:00
45a9e3bfc3 Document that "borgmatic borg create" bypasses monitoring hooks (#882).
All checks were successful
build / test (push) Successful in 4m23s
build / docs (push) Successful in 53s
2024-06-20 14:25:20 -07:00
bd40015e1c Added missing word to NEWS entry (#881).
All checks were successful
build / test (push) Successful in 4m37s
build / docs (push) Successful in 1m29s
2024-06-20 13:33:34 -07:00
7894600408 Fix "Unrecognized argument" error when the same value is with different command-line flags (#881).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-06-20 11:53:52 -07:00
df4668754d Fix "Argument list too long" error in the "spot" check when checking 100k+ files (#866).
All checks were successful
build / test (push) Successful in 6m20s
build / docs (push) Successful in 1m29s
2024-06-09 22:53:56 -07:00
08d6f83b2e In the "spot" check, don't try to hash symlinked directories.
All checks were successful
build / test (push) Successful in 4m25s
build / docs (push) Successful in 51s
2024-06-09 15:58:16 -07:00
c58f510054 Minor spot check documentation clarification (#868).
All checks were successful
build / test (push) Successful in 6m7s
build / docs (push) Successful in 1m30s
2024-06-09 15:28:28 -07:00
c2879d054a Alpha ordering in docs (#874).
All checks were successful
build / test (push) Successful in 4m29s
build / docs (push) Successful in 53s
2024-06-05 14:58:43 -07:00
f821d2c909 Calling interpolated variable "repository_label" instead of "label" for clarity (#874).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-06-05 14:56:21 -07:00
1ef2218919 Remove obsolute "version:" from Docker Compose files. 2024-06-05 14:50:52 -07:00
177c958572 Add configured repository "label" to the interpolated variables passed to command hooks (#874).
All checks were successful
build / test (push) Successful in 4m26s
build / docs (push) Successful in 52s
2024-06-05 14:47:37 -07:00
b5ab1ff0cd Use (current) default action order whenever actions are mentioned (#873).
All checks were successful
build / test (push) Successful in 6m9s
build / docs (push) Successful in 1m30s
2024-06-05 11:21:51 -07:00
70a978b83d Upgrade test requirements.
All checks were successful
build / test (push) Successful in 5m46s
build / docs (push) Successful in 1m15s
2024-05-21 13:57:06 -07:00
2037810c6b Avoid requiring network in test_healthchecks.py (#869).
All checks were successful
build / test (push) Successful in 7m26s
build / docs (push) Successful in 2m27s
Reviewed-on: borgmatic-collective/borgmatic#869
2024-05-21 20:33:21 +00:00
de304f83de
Avoid requiring network in test_healthchecks.py
Some test environments (e.g., the one of the Nix build system) don't
allow network requests while building and testing.
2024-05-16 16:11:40 +02:00
5752373009 When color output is disabled (explicitly or implicitly), don't prefix each log line with the log level (#863).
All checks were successful
build / test (push) Successful in 7m59s
build / docs (push) Successful in 2m26s
2024-05-11 22:40:13 -07:00
fecae39fcd To avoid duplicate install, update docs to uninstall borgmatic before re-installing with Apprise (#862).
All checks were successful
build / test (push) Successful in 7m57s
build / docs (push) Successful in 2m23s
2024-05-03 16:48:35 -07:00
38bc4fbfe2 Fix interaction between environment variable interpolation in constants and shell escaping (#860).
All checks were successful
build / test (push) Successful in 7m52s
build / docs (push) Successful in 2m19s
2024-04-30 09:36:26 -07:00
92ed7573d4 Fix NEWS formatting.
All checks were successful
build / test (push) Successful in 7m22s
build / docs (push) Successful in 2m7s
2024-04-29 09:39:40 -07:00
80f0e92462 Bump version for release. 2024-04-29 09:38:02 -07:00
5f10b1b2ca Clarify database limitations.
All checks were successful
build / test (push) Successful in 6m10s
build / docs (push) Successful in 1m23s
2024-04-28 16:55:24 -07:00
4f83b1e6b3 [Documentation] Add compression level explanation and example.
All checks were successful
build / test (push) Successful in 7m24s
build / docs (push) Successful in 2m27s
Reviewed-on: borgmatic-collective/borgmatic#859
2024-04-28 16:50:09 +00:00
15d5a687fb
make parenthetical its own sentence 2024-04-28 18:41:05 +02:00
eb1fce3787
documentation: add compression level explanation and example 2024-04-28 18:24:23 +02:00
7f735cbe59 Fix a traceback with "check --only spot" when the "spot" check is unconfigured (#857).
All checks were successful
build / test (push) Successful in 7m42s
build / docs (push) Successful in 2m10s
2024-04-24 16:12:58 -07:00
a690ea4016 Add Healtchecks auto-provisioning to NEWS (#815).
All checks were successful
build / test (push) Successful in 5m49s
build / docs (push) Successful in 2m16s
2024-04-23 09:25:29 -07:00
7a110c7acd Add Healthchecks auto-provisionning (#815).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
Reviewed-on: borgmatic-collective/borgmatic#852
Reviewed-by: Dan Helfman <witten@torsion.org>
2024-04-23 16:23:26 +00:00
407bb33359 Fix schema.yaml to comply with maximum line length 2024-04-22 20:47:03 +02:00
4b7f7bba04 Issue warning if using UUID URL scheme with create_slug 2024-04-22 20:45:36 +02:00
cfdc0a1f2a Fix Healthchecks UUID regex 2024-04-22 20:44:31 +02:00
f926055e67 Fix a traceback when the "data" consistency check is used (#854).
All checks were successful
build / test (push) Successful in 7m36s
build / docs (push) Successful in 2m26s
2024-04-21 14:55:02 -07:00
058af95d70 Document limitation about using database hooks and "one_file_system" (#853).
All checks were successful
build / test (push) Successful in 4m20s
build / docs (push) Successful in 52s
2024-04-20 14:53:41 -07:00
54facdc391 Clarify Apprise states configuration.
All checks were successful
build / test (push) Successful in 6m2s
build / docs (push) Successful in 1m29s
2024-04-20 08:26:06 -07:00
2e4c0cc7e7 Support for healthchecks auto provisionning 2024-04-19 10:43:45 +02:00
cb2fd7c5e8 Fix lack of file extraction when using "extract --strip-components all" on a path with a leading slash (#851).
All checks were successful
build / test (push) Successful in 6m0s
build / docs (push) Successful in 1m30s
2024-04-17 16:50:09 -07:00
94133cc8b1 Add note about running spot check on a separate schedule (#656).
All checks were successful
build / test (push) Successful in 4m15s
build / docs (push) Successful in 52s
2024-04-16 10:57:34 -07:00
dcec89be90 Wording tweak (#656).
Some checks failed
build / test (push) Successful in 4m17s
build / docs (push) Has been cancelled
2024-04-16 10:52:56 -07:00
fefd5d1d0e Wording tweak (#656).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-04-16 10:50:37 -07:00
163c37d77f Bump version for release. 2024-04-16 10:43:35 -07:00
b0e49ebce0 When "--match-archives *" is used with "check" action, don't skip Borg's orphaned objects check (#779).
All checks were successful
build / test (push) Successful in 4m17s
build / docs (push) Successful in 49s
2024-04-16 10:38:14 -07:00
7e51c41ebf Mask the password when logging a MongoDB dump or restore command (#848).
All checks were successful
build / test (push) Successful in 5m55s
build / docs (push) Successful in 1m28s
2024-04-16 10:20:15 -07:00
f9182514d8 Add spot consistency check (#656).
All checks were successful
build / test (push) Successful in 4m18s
build / docs (push) Successful in 1m28s
Reviewed-on: borgmatic-collective/borgmatic#849
2024-04-15 21:25:50 +00:00
7700b87b60 Test requirements security upgrade.
Some checks failed
build / test (push) Failing after 3m19s
build / docs (push) Has been skipped
2024-04-15 14:21:01 -07:00
75bdbe6087 Spot check documentation and edge case tweaks (#656). 2024-04-15 14:18:42 -07:00
d243a8c836 Add spot check documentation (#656). 2024-04-15 12:51:07 -07:00
4c2eb2bfe3 Spot check basically complete other than docs (#656). 2024-04-15 11:02:05 -07:00
89ce060dbd Merge branch 'main' into spot-check 2024-04-05 12:25:50 -07:00
ad7dcb4615 Fix "--json" error when Borg includes non-JSON warnings in JSON output (#847).
Some checks failed
build / test (push) Failing after 3m16s
build / docs (push) Has been skipped
2024-04-05 12:23:50 -07:00
6680aece5a Split out (most of) command construction from create_archive() in preparation for reuse in spot check (#656). 2024-04-04 14:23:56 -07:00
57eb93760f Merge branch 'main' into spot-check 2024-03-22 11:27:24 -07:00
f21a2c06e3 Add documentation link to Loki dashboard for borgmatic (#843).
All checks were successful
build / test (push) Successful in 6m37s
build / docs (push) Successful in 1m29s
2024-03-22 11:25:33 -07:00
2212539cb0 Merge branch 'main' into spot-check. 2024-03-20 12:01:52 -07:00
36d10fecb1 Upgrade black in test requirements.
All checks were successful
build / test (push) Successful in 5m56s
build / docs (push) Successful in 1m28s
2024-03-20 12:01:24 -07:00
3ecd0e731e Initial work on spot check schema and preparatory refactoring (#656). 2024-03-20 11:58:59 -07:00
ecf5a7e294 When a command hook exits with a soft failure, ping the log and finish states for any configured monitoring hooks (#842).
All checks were successful
build / test (push) Successful in 6m0s
build / docs (push) Successful in 1m28s
2024-03-18 23:15:28 -07:00
893fbcf9ff Add documentation about backing up containerized databases by configuring borgmatic to exec into a container to run a dump command.
All checks were successful
build / test (push) Successful in 5m57s
build / docs (push) Successful in 1m29s
2024-03-14 18:00:52 -07:00
f8f6560502 Fix handling of the NO_COLOR environment variable to ignore an empty value (#835).
All checks were successful
build / test (push) Successful in 6m0s
build / docs (push) Successful in 1m29s
2024-03-13 09:35:19 -07:00
8c301ba688 Bump version for release.
All checks were successful
build / test (push) Successful in 5m15s
build / docs (push) Successful in 1m5s
2024-03-11 13:27:08 -07:00
035e96156a Add an "access_token" option to the ntfy monitoring hook for authenticating without username/password (#811).
All checks were successful
build / test (push) Successful in 5m2s
build / docs (push) Successful in 1m10s
2024-03-11 12:48:58 -07:00
a08c7fc77a When running the "rcreate" action and the repository already exists but with a different encryption mode than requested, error (#840).
All checks were successful
build / test (push) Successful in 4m55s
build / docs (push) Successful in 1m0s
2024-03-11 11:24:36 -07:00
cf9e387811 Document a potentially breaking shell quoting edge case within error hooks (#839).
All checks were successful
build / test (push) Successful in 6m43s
build / docs (push) Successful in 1m44s
2024-03-11 10:42:51 -07:00
e37224606a Clarify dev-CI parity.
All checks were successful
build / test (push) Successful in 5m12s
build / docs (push) Successful in 1m13s
2024-03-10 19:14:18 -07:00
9647301b99 Add log sending for the Apprise logging hook, enabled by default.
All checks were successful
build / test (push) Successful in 7m4s
build / docs (push) Successful in 1m53s
2024-03-10 16:18:49 -07:00
a0e5dbff96 Remove list of command in Bash script.
All checks were successful
build / test (push) Successful in 5m5s
build / docs (push) Successful in 1m11s
2024-03-06 21:24:44 -08:00
86117edccf Remove build.torsion.org references from documentation.
All checks were successful
build / test (push) Successful in 7m7s
build / docs (push) Successful in 1m56s
2024-03-06 20:01:32 -08:00
440f3eeb63 Remove Drone configuration/tests.
All checks were successful
build / test (push) Successful in 5m1s
build / docs (push) Successful in 1m2s
2024-03-06 19:04:29 -08:00
181051eae1 Add new build server to NEWS.
All checks were successful
build / test (push) Successful in 4m45s
build / docs (push) Successful in 2m5s
2024-03-06 18:52:27 -08:00
ec0ee971ed Attempt to use secrets.
Some checks failed
build / test (push) Successful in 4m46s
build / docs (push) Failing after 4s
2024-03-06 18:38:45 -08:00
b83ffa0cf6 Attempt to fix trigger.
Some checks failed
build / test (push) Successful in 4m45s
build / docs (push) Failing after 4s
2024-03-06 16:53:41 -08:00
cf88665d37 Fix typo.
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-03-06 16:52:33 -08:00
b233adba63 Fix build? 2024-03-06 16:51:49 -08:00
018f5e3315 Merge workflows, since Gitea doesn't yet support workflow_run. 2024-03-06 16:49:50 -08:00
284f26b49d Only run tests on pushes to main branch. 2024-03-06 16:40:39 -08:00
11b437794e Attempt to build documentation.
All checks were successful
test / test (push) Successful in 4m53s
2024-03-06 16:38:34 -08:00
0665b50d57 Fixed debugging.
All checks were successful
test / test (push) Successful in 4m40s
2024-03-06 16:17:12 -08:00
0586b80e5b More debugging.
Some checks failed
test / test (push) Failing after 4m44s
2024-03-06 15:53:30 -08:00
272a7b4866 Actually kill other containers after tests finish.
All checks were successful
test / test (push) Successful in 4m45s
2024-03-06 15:41:03 -08:00
98d4a59459 Another iteration.
All checks were successful
test / test (push) Successful in 4m46s
2024-03-06 15:29:56 -08:00
744139cf97 Disable progress.
Some checks failed
test / test (push) Has been cancelled
2024-03-06 15:21:45 -08:00
1339509e9b Flag order apparently matters to Docker Compose.
Some checks are pending
test / test (push) Waiting to run
2024-03-06 14:55:55 -08:00
e14f61415b Fix spew in test script.
Some checks failed
test / test (push) Failing after 2s
2024-03-06 14:54:53 -08:00
98cf8f7e20 Another try at exiting tests properly.
Some checks failed
test / test (push) Has been cancelled
2024-03-06 14:42:06 -08:00
5f16b64639 Attempt to exit test containers on tests exit while also showing test output.
Some checks failed
test / test (push) Failing after 3s
2024-03-06 14:39:23 -08:00
fe62a81151 Add missing service name to test scrits.
All checks were successful
test / test (push) Successful in 4m54s
2024-03-06 14:32:26 -08:00
585b1573ae Attempt to make containers stop after tests run.
Some checks failed
test / test (push) Failing after 7s
2024-03-06 14:30:49 -08:00
141ba2771d Attempt to fix and debug read-only filesystem issue at build.
Some checks failed
test / test (push) Has been cancelled
2024-03-06 11:10:20 -08:00
a527f76d08 Add back checkout now that NodeJS is installed on the host.
Some checks reported errors
continuous-integration/drone/push Build was killed
test / test (push) Has been cancelled
2024-03-06 08:49:53 -08:00
a97c68b4c8 Debugging ls.
Some checks reported errors
test / test (push) Failing after 0s
continuous-integration/drone/push Build was killed
2024-03-06 08:35:50 -08:00
ef07005a75 Remove duplicative(?) checkout step.
Some checks reported errors
test / test (push) Failing after 0s
continuous-integration/drone/push Build was killed
2024-03-06 08:35:05 -08:00
43c7c3b6be First attempt at using Gitea Actions to run tests.
Some checks reported errors
test / test (push) Failing after 15s
continuous-integration/drone/push Build was killed
2024-03-06 08:32:55 -08:00
2f6ad9d173 Add NO_COLOR support to NEWS (#835).
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-03-04 13:49:54 -08:00
16bc0de3fb
Support for NO_COLOR environment variable (#835).
Merge pull request #82 from shivansh02/feature/support-no-color-env-var
2024-03-04 13:46:09 -08:00
458d157e62 NO_COLOR set to any value returns false 2024-03-05 00:15:52 +05:30
40c3a28620 support for NO_COLOR env var 2024-03-04 18:21:28 +05:30
60107f1ee8 Add custom dump/restore command options for MySQL and MariaDB (#311).
Some checks reported errors
continuous-integration/drone/push Build was killed
2024-03-03 14:32:49 -08:00
a1153a21fa
Custom dump command options for MySQL and MariaDB.
Merge pull request #81 from shivansh02/feature/custom-dump-restore-commands-mysql
2024-03-03 14:27:14 -08:00
b6cb7da98e custom dump commands for mariadb 2024-03-04 00:24:22 +05:30
9e3d19a406 custom commands escaped 2024-03-03 23:31:02 +05:30
2b755d8ade custom show command for mysql and schema description 2024-03-03 23:15:07 +05:30
925f99cfef custom dump command for mysql 2024-03-03 03:47:02 +05:30
c9f20eb260 Fix "--override" values containing deprecated section headers not actually overriding configuration options under deprecated section headers (#829). 2024-02-15 21:12:42 -08:00
f4744826fe When the "--json" flag is given, suppress console escape codes so as not to interfere with JSON output (#827).
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-11 17:44:43 -08:00
5586aab967 Clarify documentation about restoring a database: borgmatic does not create the database upon restore.
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-09 15:35:29 -08:00
6fa5dff79b Fix broken escaping logic for "pg_dump_command" (#822) + bonus shell injection fixes.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-01-31 10:53:32 -08:00
75d11aa9cd Pass the PostgreSQL "PGSSLMODE" environment variable through to Borg (#370).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-25 14:18:01 -08:00
ad1d104d65 Fix broken repository detection in the "rcreate" action with Borg 1.4 (#820).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-24 15:45:51 -08:00
009062128d Remove Python 3.8+ restriction, as only Python 3.8+ is supported. 2024-01-22 09:41:43 -08:00
e9813d2539 Allow the "--repository" flag to match across multiple configuration files (#818). 2024-01-21 18:25:44 -08:00
f9998b50e8 Rephrase documentation and link to docs on exit codes feature (#798).
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2024-01-21 14:47:21 -08:00
5f921a7f80 Add documentation heading (#798).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 11:48:23 -08:00
abf2b3a8c7 Elevate specific Borg warnings to errors or squash errors to warnings (#798).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-21 11:34:40 -08:00
34f3c2bb16 Clarify "--override" command-line help (#814)
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-19 11:55:00 -08:00
4d79f582df Fix a traceback when providing an invalid "--override" value for a list option (#814).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-18 10:39:40 -08:00
63198088c4 Store included configuration files within each backup archive in support of the "config bootstrap" action (#736).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-09 13:47:20 -08:00
3c22a8ec16 Prevent various shell injection attacks (#810).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-07 10:21:49 -08:00
ca49109ce7 Bump version for release.
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2024-01-03 10:08:05 -08:00
6a7f71f92f Clarify prune action help concerning running compact afterwards (#808).
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-03 10:03:35 -08:00
5f3dc1cfb0 Stream SQLite databases directly to Borg instead of dumping to an intermediate file (#807).
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-31 11:07:59 -08:00
f2023aed22 Fix typo.
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-30 15:48:55 -08:00
a03c2744e5 Update docs/how-to/provide-your-passwords.md (#805).
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: borgmatic-collective/borgmatic#805
Reviewed-by: Dan Helfman <witten@torsion.org>
2023-12-30 23:48:32 +00:00
axel simon
4176532317 Update docs/how-to/provide-your-passwords.md
Provide an explanation of encryption_passcommand.
Also, adjust headers for consistency.
2023-12-30 23:45:56 +00:00
9d6025e902 Validate the configured action names in the "skip_actions" option (#804).
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-28 20:07:57 -08:00
cf739bc997 The "check --force" flag now runs checks even if "check" is in "skip_actions" (#802).
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-28 10:22:48 -08:00
84823dfb91 Clarify constants/placeholders interaction and improve examples (#763).
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-24 11:18:17 -08:00
20cf0f7089 Add an "--ssh-command" flag to the "config bootstrap" action (#767).
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-24 10:33:55 -08:00
67af0f5734 Document limitation with constant interpolation at the start of a value (#741).
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-22 21:39:44 -08:00
e80e0a253c Add configured repository labels to the JSON output for all actions (#800). 2023-12-20 09:17:41 -08:00
72587a3b72 Merge branch 'main' of ssh://projects.torsion.org:3022/borgmatic-collective/borgmatic
All checks were successful
continuous-integration/drone/push Build is passing
2023-12-04 11:17:59 -08:00
8b49a59aff Fix a traceback when the "repositories" option contains both strings and key/value pairs (#794). 2023-12-04 11:17:13 -08:00
e120dff9ff Add debug message that logs borg version for every config (#714).
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: borgmatic-collective/borgmatic#792
2023-11-25 03:59:40 +00:00
257678b66f Fixed borg -> Borg 2023-11-24 18:47:37 +01:00
422c5e32f4 Added debug message that logs borg version for every config 2023-11-23 11:46:10 +01:00
c34ad7dde7 Update documentation about configuration includes and constants (#745).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-19 21:22:10 -08:00
fdb353d358 Bump version for release.
All checks were successful
continuous-integration/drone/tag Build is passing
2023-11-19 21:14:56 -08:00
3b99f7c75a Constants support includes and command-line overrides (#745, #782) 2023-11-19 21:13:35 -08:00
8b9abc6cf8 Documentation clarifications (#791).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-15 09:05:52 -08:00
da034c316a Add another mention of "skip_actions" to the docs (#701).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-08 18:22:17 -08:00
08d01d8bcd Documentation formatting.
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-08 17:57:31 -08:00
eef69e23ee Document the possible units of times for a configured check frequency.
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-08 17:53:59 -08:00
26bb54a9dd Remove broken link in documentation (#786).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-08 10:26:09 -08:00
715e2ac127 Add test support for Python 3.12.
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-07 10:17:55 -08:00
f39cea4abf Remove additional Python 3.7-isms (#784).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-07 10:17:16 -08:00
22101bdd49 Drop support for Python 3.7, which has been end-of-lifed (#784).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-07 10:11:29 -08:00
13cf863d89 Fix tests (#783).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-07 10:09:31 -08:00
dcf25fa041 Upgrade ruamel.yaml dependency to support version 0.18.x (#783).
Some checks failed
continuous-integration/drone/push Build is failing
2023-11-07 10:00:13 -08:00
12b75f9075 Update documentation about logging changes from version 1.8.3 (#665).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-06 21:13:46 -08:00
9baf06a2f7
Fix typo.
All checks were successful
continuous-integration/drone/push Build is passing
Typo
2023-11-04 08:56:39 -07:00
tdltdc
56302e22cd
Typo 2023-11-04 15:05:19 +01:00
6cc93c4eb9 Fix environment variable interpolation within configured repository paths (#782).
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-03 21:16:04 -07:00
2da43239f6 Fix docs: minor typos (#781).
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: borgmatic-collective/borgmatic#781
2023-11-03 00:59:29 +00:00
4beef36d3c Update docs/how-to/inspect-your-backups.md 2023-11-02 23:14:31 +00:00
eacfbd742b Typo 2023-11-02 23:13:45 +00:00
82a85986b6 Typo 2023-11-02 22:57:46 +00:00
ef448e2dd1 Add a "skip_actions" option to skip running particular actions (#701).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-31 21:54:41 -07:00
c3efe1b90e Only parse "--override" values as complex data types when they're for options of those types (#779).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-29 19:02:28 -07:00
d85c1ee216 Correct changelog addition (#779).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-29 16:25:40 -07:00
b47088067c Add a "--match-archives" flag to the "check" action (#779).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-29 16:22:39 -07:00
c5732aa4fc Fix home page CSS layout to prevent overflow at certain window widths (#777).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-27 14:12:35 -07:00
a0323d9d6c Bump version for release.
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2023-10-26 22:20:26 -07:00
8ad7b473f1 When an archive filter causes no matching archives for the "rlist" or "info" actions, warn (#748).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-26 22:12:13 -07:00
895a0ccb3c Upgrade to tox 4. (Now a minimum requirement.)
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-23 17:39:27 -07:00
257ab77bea Disallow the "--dry-run" flag with the "borg" action (#774).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-23 17:23:04 -07:00
dccaa4014b
Update systemd service example with better filesystem protection options.
All checks were successful
continuous-integration/drone/push Build is passing
Merge pull request #78 from Alphix/update-systemd-service
2023-10-15 08:59:39 -07:00
David Härdeman
2f3c0bec5b Update systemd .service example
First, ProtectSystem=strict will make the entire file system hierarchy (except
/dev, /proc/ and /sys) read-only, so separate ReadOnlyPaths= is not necessary.

Second, ProtectHome=tmpfs will not just mount an empty tmpfs on /root, but also
on /home and /run/user. As it's likely quite common to want to backup /home,
this seems like a footgun.

Finally, it's quite likely that borgbackup will want access to root's SSH keys
in order to connect to remote backup servers.

Note that all these options are commented out by default, so this is more of
a documentation change than any real change in functionality.
2023-10-15 11:30:11 +02:00
487d8ffd32 Fix normalization of deprecated sections to support empty sections without erroring (#771).
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-14 13:04:18 -07:00
30523a7c89 Update home page example of Healthchecks configuration not to use deprecated config.
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-11 12:56:21 -07:00
77b1907d03 Update Healthchecks deprecation warning message for clarity.
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-11 12:17:57 -07:00
09594c85bf