Add before_extract and after_extract hooks #347
No reviewers
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#347
Loading…
Reference in New Issue
No description provided.
Delete Branch ":master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
adding
before_extract
andafter_extract
hooks based on #346diverged from the original proposed naming of
before_restore
andafter_restore
to the actual command name, since there is aborgmatic restore
command for restoring databases.Awesome, thanks for implementing this and adding a test! Looks great except for the very minor issue of the description strings. (See below.)
@ -94,0 +96,4 @@
hooks.get('before_extract'),
hooks.get('umask'),
config_filename,
'pre-check',
This should be
pre-extract
.@ -168,0 +178,4 @@
hooks.get('after_extract'),
hooks.get('umask'),
config_filename,
'post-check',
And
post-extract
.changed them
Thanks!
Just released in borgmatic 1.5.10!