Commit Graph

287 Commits

Author SHA1 Message Date
6fdce2a4a6 Fix a confusing apparent hang when when the repository location changes, and instead show a helpful error message (#914).
All checks were successful
build / test (push) Successful in 5m1s
build / docs (push) Successful in 1m15s
2024-10-03 16:48:34 -07:00
b7efa0d3f0 When databases are configured, don't auto-enable the "one_file_system" option (#918).
All checks were successful
build / test (push) Successful in 5m0s
build / docs (push) Successful in 1m17s
2024-10-01 10:16:30 -07:00
34305d686c Revert "Add missing test (#911)" which accidentally included unrelated changes.
This reverts commit bf1e8bc44e.
2024-10-01 09:28:39 -07:00
bf1e8bc44e Add missing test (#911).
Some checks failed
build / docs (push) Blocked by required conditions
build / test (push) Has been cancelled
2024-10-01 09:26:00 -07:00
fd4f69f6c3 Rename repository actions for compatibility with recent Borg 2 changes (#915).
All checks were successful
build / test (push) Successful in 6m23s
build / docs (push) Successful in 1m59s
2024-09-09 10:05:32 -07:00
1fe6ae83a8 Add a "key change-passphrase" action to change the passphrase protecting a repository key (#911).
All checks were successful
build / test (push) Successful in 6m22s
build / docs (push) Successful in 1m53s
2024-09-01 11:13:39 -07:00
e0298685a1 Fix the "source_directories_must_exist" option to work with relative "source_directories" paths when a "working_directory" is set (#905).
All checks were successful
build / test (push) Successful in 4m3s
build / docs (push) Successful in 53s
2024-08-20 13:52:06 -07:00
424cc6b66c Fix for a "bad character" Borg error in which the "spot" check fed Borg an invalid pattern (#899).
All checks were successful
build / test (push) Successful in 6m5s
build / docs (push) Successful in 1m32s
2024-07-25 11:34:09 -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
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
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
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
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
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
4c2eb2bfe3 Spot check basically complete other than docs (#656). 2024-04-15 11:02:05 -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
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
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
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
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
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
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
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
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
9f3328781b When "archive_name_format" is not set, filter archives using the default archive name format (#753).
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-06 23:13:40 -07:00
b96d1898f7 Prep work for eventual container-dumping hooks: Generalize internal database hook "API" (#685).
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-24 13:50:10 -07:00
6dca7c1c15 Add "key export" action to export a copy of the repository key (#345).
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-07 12:28:39 -07:00
5d80c366fb Fix "borg create" flags/argument interleaving.
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-04 20:02:09 -07:00
14e2a6b89d Omit "--glob-archives" or "--match-archives" Borg flag when its value would be "*" (#734).
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-02 10:23:22 -07:00
8491b2c416 Feat: optionally disable config bootstrap (#725).
Merge pull request #75 from diivi/feat/disable-config-bootstrap
2023-07-31 14:00:00 -07:00
6b09ca8022 exclude configs too and not just the manifest 2023-08-01 01:51:37 +05:30
8a2514915c Fix for Borg's interactive prompt on the "check --repair" action automatically getting answered "NO" (#730).
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-22 15:25:55 -07:00
4d7a2876a5 Fix for "prune" action error when using the "keep_exclude_tags" option in configuration (#728).
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-22 10:26:52 -07:00
054bd52482 Fix incorrect merge from main that broke tests (#721).
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-11 22:16:42 -07:00
cedf562a7e Merge branch 'main' into remove-sections 2023-07-11 20:05:16 -07:00
e8dbca9d68 Truncate long command output without assuming an encoded byte string. 2023-07-10 11:16:18 -07:00
7d18f59079 Add a config entry for BORG_CHECK_I_KNOW_WHAT_I_AM_DOING env var 2023-07-10 10:36:56 +02:00
48b6a1679a Remove sections (#721).
Some checks failed
continuous-integration/drone/push Build is failing
2023-07-08 23:14:30 -07:00
9cafc16052 For "borgmatic borg", pass the repository to Borg via a Borg-supported environment variable (#575).
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-03 00:08:54 -07:00
9cf27fa4ba Deprecated configuration options warning logging.
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-29 10:03:36 -07:00
e2c95327fb Fix an error when dumping a MySQL database and the "exclude_nodump" option is set (#720).
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-28 09:15:11 -07:00
44f9ab95f9 Fix typos (#575).
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-26 14:37:23 -07:00
bb6004fc4f Revamp "borg" action to support REPOSITORY and ARCHIVE env vars instead of implicitly injecting repository/archive into the Borg command (#575). 2023-06-26 14:35:07 -07:00
6098005f5d Fix an error when "data" check time files are accessed without getting upgraded first (#711, #713).
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-19 23:07:57 -07:00