oetiker / znapzend

zfs backup with remote capabilities and mbuffer integration.
www.znapzend.org
GNU General Public License v3.0
608 stars 137 forks source link

Enabling a pre-check for datasets with only the 'enabled' property set, which is a legitimate situation. #387

Closed flixman closed 5 years ago

flixman commented 5 years ago

When a dataset only contains two properties, being src and enabled, we are considering this to be a legitimate situation: the dataset might well be a descendant from another, set that to recursive, for which we want to skip the snapshot generation and sending.

In this case, if this situation is detected, we just continue with the next dataset (we do not even log this situation, as it is not logged neither when datasets are correct).

coveralls commented 5 years ago

Coverage Status

Coverage increased (+2.8%) to 87.481% when pulling 398e6403cb755c475d6d7efa85a9db55cdc20578 on flixman:master into c319917faac0cea712f7deaab23a9d42623b654b on oetiker:master.