3b6ed06686
Add --other-repo flag to rcreate action ( #557 ).
2022-08-17 17:33:09 -07:00
28d847b8b1
Warn and tranform on non-ssh://-style repositories ( #557 ).
2022-08-17 10:13:11 -07:00
30abd0e3de
Update borg action for Borg 2 support ( #557 ).
2022-08-16 09:30:00 -07:00
f36e38ec20
Update mount action for Borg 2 support ( #557 ).
2022-08-15 19:32:37 -07:00
d807ce095e
Update export-tar action for Borg 2 support ( #557 ).
2022-08-15 17:34:12 -07:00
cc04bf57df
Update list action for Borg 2 support, add rinfo action, and update extract consistency check for Borg 2.
2022-08-15 15:04:40 -07:00
94321aec7a
Update compact action for Borg 2 support ( #557 ).
2022-08-13 22:07:15 -07:00
4a55749bd2
Update prune action for Borg 2 support ( #557 ).
2022-08-13 17:26:51 -07:00
c7176bd00a
Add rinfo action for Borg 2 support ( #557 ).
2022-08-12 23:06:56 -07:00
622caa0c21
Support for Borg 2's rcreate and rinfo sub-commands ( #557 ).
2022-08-12 14:53:20 -07:00
9aece3936a
Modify "mount" and "extract" actions to require the "--repository" flag when multiple repositories are configured ( #566 ).
2022-07-25 11:30:02 -07:00
457ed80744
Fix environment variable plumbing so options in one configuration file aren't used for others ( #555 ).
2022-06-30 13:42:17 -07:00
97b5cd089d
Allow environment variable resolution in configuration file
...
- all string fields containing an environment variable like ${FOO} will
be resolved
- supported format ${FOO}, ${FOO:-bar} and ${FOO-bar} to allow default
values if variable is not present in environment
- add --no-env argument for CLI to disable the feature which is enabled
by default
Resolves : #546
2022-06-16 18:52:54 +02:00
8fa90053cf
Add "borgmatic check --force" flag to ignore configured check frequencies ( #523 ).
2022-05-28 19:29:33 -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
77b84f8a48
Add Bash completion script so you can tab-complete the borgmatic command-line.
2022-05-26 10:27:53 -07:00
ed7fe5c6d0
Instead of executing "before" command hooks before all borgmatic actions run (and "after" hooks after), execute these hooks right before/after the corresponding action ( #473 ).
2022-04-21 22:08:25 -07:00
9f44bbad65
Fix borgmatic exit code (so it's zero) when initial Borg calls fail but later retries succeed ( #517 ).
2022-04-02 22:28:41 -07:00
db7499db82
Document "repositories" context to for "before_*" and "after_*" command action hooks ( #469 ).
2022-03-14 13:34:14 -07:00
6b500c2a8b
Add repositories context for command hooks.
...
Reviewed-on: borgmatic-collective/borgmatic#469
2022-03-14 20:13:15 +00:00
976516d0e1
When loading a configuration file that is unreadable due to file permissions, warn instead of erroring ( #444 ).
2022-03-08 10:19:36 -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
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
0014b149f8
remove configuration_filename as it's already set.
2021-11-26 11:38:58 +08:00
091c07bbe2
Add context for various hooks.
2021-11-26 11:35:10 +08:00
38ebfd2969
Rename retry_timeout to retry_wait and standardize log formatting ( #28 ).
2021-11-15 11:51:17 -08:00
cadamswaite
976a877a25
Formatting
2021-11-14 22:37:42 +00:00
cadamswaite
b4117916b8
Add timeout and tests
2021-11-14 22:15:22 +00:00
cadamswaite
89baf757cf
Sort imports
2021-07-14 23:17:35 +01:00
cadamswaite
4f36fe2b9f
Run Black on changed file
2021-07-14 22:53:01 +01:00
cadamswaite
510449ce65
Change default retries to 0
2021-07-14 22:49:03 +01:00
cadamswaite
4cc4b8d484
Add queue based retry logic
2021-07-14 22:46:02 +01:00
cf8882f2bc
Run arbitrary Borg commands with new "borgmatic borg" action ( #425 ).
2021-06-17 20:41:44 -07:00
0e978299cf
Fix traceback when a database hook value is null in a configuration file ( #355 ).
2020-10-07 15:41:45 -07:00
c5776447b9
fixed description strings for before_extract and after_extract
2020-08-12 23:07:57 +02:00
893fca2816
Add before_extract and after_extract hooks
2020-08-01 16:08:32 +02: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
37cc229749
Fix duplicate logging to Healthchecks and send "after_*" hooks output to Healthchecks ( #328 ).
2020-06-23 11:01:03 -07: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
398665be9e
Allow before_backup and similiar hooks to exit with a soft failure without altering the monitoring status ( #292 ).
2020-06-02 14:33:41 -07:00
89cb5eb76d
Fix regression in support for PostgreSQL's "directory" dump format ( #314 ).
2020-05-18 11:31:29 -07:00
1ea047dd94
Remove "borgmatic restore --progress" flag, as it now conflicts with streaming database restores.
2020-05-09 21:53:16 -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
8ad8a9c422
Add per-action hooks: "before_prune", "after_prune", "before_check", and "after_check" ( #255 ).
2020-01-27 11:07:07 -08:00
2405e97c38
Backup to a removable drive or intermittent server via "soft failure" feature ( #284 ).
2020-01-24 20:52:48 -08:00
fdbb2ee905
View consistency check progress via "--progress" flag for "check" action ( #287 ).
2020-01-24 11:27:16 -08:00