When the backup is disabled, avoid testing backup presence.
This only leads to errors being logged in debug trace and the missing
backup can't be fixed, since it's disabled.
Version 2.02.106 -
====================================
+ Do not check for backups when when its creation is disabled.
Don't allow --mergedconfig without --type current in dumpconfig. Fix memleak.
Make global/lvdisplay_shows_full_device_path lvm.conf setting profilable.
Make global/{units|si_unit_consistency|suffix} lvm.conf setting profilable.
struct volume_group *vg_backup;
int old_suppress;
+ if (!vg->cmd->backup_params->enabled || !vg->cmd->backup_params->dir) {
+ log_debug("Skipping check for current backup, since backup is disabled.");
+ return;
+ }
+
if (vg_is_exported(vg))
return;