|
|
@@ -355,10 +355,10 @@ def get_snapshots(lvs_command, snapshot_name=None):
|
|
|
|
|
|
def remove_data_source_dumps(hook_config, config, borgmatic_runtime_directory, patterns, dry_run): # noqa: PLR0912
|
|
|
'''
|
|
|
- Given an LVM configuration dict, a configuration dict, the borgmatic runtime directory, and
|
|
|
- whether this is a dry run, unmount and delete any LVM snapshots created by borgmatic. If this is
|
|
|
- a dry run or LVM isn't configured in borgmatic's configuration, then don't actually remove
|
|
|
- anything.
|
|
|
+ Given an LVM configuration dict, a configuration dict, the borgmatic runtime directory, the
|
|
|
+ configured patterns, and whether this is a dry run, unmount and delete any LVM snapshots created
|
|
|
+ by borgmatic. If this is a dry run or LVM isn't configured in borgmatic's configuration, then
|
|
|
+ don't actually remove anything.
|
|
|
'''
|
|
|
if hook_config is None:
|
|
|
return
|