8fa90053cf
Add "borgmatic check --force" flag to ignore configured check frequencies ( #523 ).
2022-05-28 19:29:33 -07:00
ad0e2e0d7c
Tweak default check frequency to 1 month ( #523 ).
2022-05-28 15:49:50 -07:00
e76bfa555f
Reduce the default consistency check frequency and support configuring the frequency independently for each check ( #523 ).
2022-05-28 14:42:19 -07:00
8ddb7268eb
Reuse "borg info" function.
2022-05-27 13:51:11 -07:00
0e6b425ac5
Fix "borgmatic borg key ..." to pass parameters to Borg in correct order ( #515 ).
2022-04-23 14:03:15 -07:00
574eb91921
Fix Borg usage error in the "compact" action when running "borgmatic --dry-run". Now, skip "compact" entirely during a dry run ( #507 ).
2022-03-07 21:46:12 -08:00
28fef3264b
Fix handling of "patterns_from" and "exclude_from" options to error instead of warning when referencing unreadable files and running "create" action ( #486 ).
2022-03-07 15:32:07 -08:00
9161dbcb7d
Removing unnecessary leading underscores from functions.
2022-03-07 11:58:29 -08:00
0eb2634f9b
Working directory option to support source directories with relative paths ( #431 ).
...
Reviewed-on: borgmatic-collective/borgmatic#477
2022-03-03 19:28:17 +00:00
9317cbaaf0
Code formatting.
2022-02-10 10:23:34 -08:00
1b5f04b79f
When using the "remote_rate_limit" option, tailor the flags passed to Borg depending on the Borg version ( #394 ).
2022-02-10 10:16:09 -08:00
948c86f62c
When using the "numeric_owner" option with the "extract" action, tailor the flags passed to Borg depending on the Borg version ( #394 ).
2022-02-10 10:09:18 -08:00
7e7209322a
When using the "numeric_owner" option, tailor the flags passed to Borg depending on the Borg version ( #394 ).
2022-02-10 09:51:13 -08:00
00a57fd947
Code formatting.
2022-02-09 21:20:28 -08:00
6bf6ac310b
When using the "bsd_flags" option, tailor the flags passed to Borg depending on the Borg version ( #394 ).
2022-02-09 21:11:00 -08:00
4b5af2770d
When the "atime" option is used, tailor the flags passed to Borg depending on version ( #394 ).
2022-02-09 16:54:35 -08:00
b525e70e1c
Run "compact" action by default when no actions are specified ( #394 ).
2022-02-09 14:33:12 -08:00
48f44d2f3d
Add tests for compact action ( #394 ).
2022-02-08 12:05:02 -08:00
9582324c88
Compact repository segments with new "borgmatic compact" action ( #394 ).
2022-02-07 23:29:44 -08:00
Fabian Schilling
2a80e48a92
Pass working directory to execute functions
2021-12-10 18:23:44 +01:00
449896f661
Fix error when configured source directories are not present on the filesystem at the time of backup ( #387 ).
2021-10-11 10:40:10 -07:00
cf8882f2bc
Run arbitrary Borg commands with new "borgmatic borg" action ( #425 ).
2021-06-17 20:41:44 -07:00
root
7cad5a8608
Add temporary_directory
as a configuration option defaulting to $TMPDIR
2020-08-26 15:29:02 +00:00
b3fd1be5f6
Add "borgmatic export-tar" action to export an archive to a tar-formatted file or stream ( #300 ).
2020-07-22 21:53:55 -07:00
17c2d109e5
Add tests for pass-through of BORG_* environment variables.
2020-06-21 14:41:22 -07:00
c8d5de2179
Fix broken pass-through of BORG_* environment variables to Borg ( #327 ).
...
Reviewed-on: witten/borgmatic#327
2020-06-21 21:29:59 +00:00
27cbe9dfc0
Fix for potential data loss (data not getting backed up) when borgmatic omitted configured source directories in certain situations ( #333 ).
2020-06-19 20:16:38 -07:00
a12a1121b6
Use values from BORG_* env variables if they are not specified in config.yaml
2020-06-15 19:50:11 +02:00
aa14449857
Add "borgmatic extract --strip-components" flag to remove leading path components when extracting an archive ( #324 ).
2020-06-06 14:57:14 -07:00
a155eefa23
Fix for certain configuration options like ssh_command impacting Borg invocations for separate configuration files ( #323 ).
2020-06-06 14:30:04 -07:00
097a09578a
Fix enabled database hooks to implicitly set one_file_system configuration option to true to prevent Borg hang. ( #315 ).
2020-05-26 09:20:14 -07:00
96df52ec50
Fix hang when streaming a database dump to Borg with implicit duplicate source directories by deduplicating them first ( #316 ).
2020-05-20 13:33:53 -07:00
d88f321cef
Fix legitimate database dump command errors (exit code 1) not being treated as errors by borgmatic ( #310 ).
2020-05-14 22:38:38 -07:00
1ea047dd94
Remove "borgmatic restore --progress" flag, as it now conflicts with streaming database restores.
2020-05-09 21:53:16 -07:00
1ba996ad93
Additional test coverage.
2020-05-07 12:14:27 -07:00
a23fdf946d
Stream database dumps and restores directly to/from Borg without using any additional filesystem space ( #258 ).
2020-05-07 11:44:04 -07:00
55141bda67
Specify "--archive latest" to all actions that accept an archive ( #289 ).
2020-01-29 16:59:02 -08:00
fdbb2ee905
View consistency check progress via "--progress" flag for "check" action ( #287 ).
2020-01-24 11:27:16 -08:00
94b9ef56be
Change "exclude_if_present" option to support multiple filenames, rather than just a single filename ( #280 ).
2020-01-23 13:41:37 -08:00
53e6ff9524
No longer list files or show stats by default at verbosity 2.
2020-01-22 15:23:49 -08:00
d93fdbc5ad
Support "--files" and "--stats" flags at verbosity level 0.
2020-01-22 13:28:24 -08:00
palto42
75b5e7254e
changes as per comments in PR #283
2020-01-22 19:03:26 +01:00
palto42
e108526bab
disable --stats by default
2020-01-18 14:38:59 +01:00
palto42
e27ba0d08a
less detail at v1 + option "--files" for details
2020-01-11 16:38:07 +01:00
d64bcd5e83
When pruning with verbosity level 1, list pruned and kept archives.
2019-12-17 20:12:41 -08:00
Matthew Daley
dd16504329
Use --remote-path, --debug and --info when checking for repo existence
...
These are currently not being used in the call to `borg info` performed
as part of the borgmatic init command to check whether or not the repo
already exists.
2019-12-13 15:45:12 +13:00
8660af745e
Optionally change the internal database dump path via "borgmatic_source_directory" option in location configuration section ( #259 ).
2019-12-10 16:04:34 -08:00
826e4352d1
Filter listed paths via "borgmatic list --path" flag ( #269 ).
2019-12-08 14:07:02 -08:00
df2be9620b
Mount whole repositories via "borgmatic mount" without any "--archive" flag ( #253 ).
2019-12-06 15:58:54 -08:00
2ab9daaa0f
Attempt to repair any inconsistencies found during a consistency check via "borgmatic check --repair" flag ( #266 ).
2019-12-04 16:07:00 -08:00