diff --git a/roles/rear_backup/templates/local.conf.j2 b/roles/rear_backup/templates/local.conf.j2 index eecbe73..6b00f99 100644 --- a/roles/rear_backup/templates/local.conf.j2 +++ b/roles/rear_backup/templates/local.conf.j2 @@ -14,14 +14,12 @@ GRUB_RESCUE=1 KERNEL_CMDLINE="unattended" USER_INPUT_TIMEOUT=1 USER_INPUT_DISK_LAYOUT_PROCEED_RECOVERY=yes -{% if bigboot_lv_vg_name is defined %} -{% if bigboot_lv_vg_name == "system" %} +{% if bigboot_lv_vg_name is defined and bigboot_lv_vg_name|trim == "system" %} ONLY_INCLUDE_VG=( "system" ) {% else %} ONLY_INCLUDE_VG=( "system" {% if bigboot_lv_vg_name is defined %}"{{ bigboot_lv_vg_name | trim }}" {% endif -%} ) {% endif %} -{% endif %} -{% if bigboot_lv_info.mount != '/lv1' %} +{% if bigboot_lv_info.mount != '/applog' %} BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}" '/applog' ) EXCLUDE_MOUNTPOINTS=( "${EXCLUDE_MOUNTPOINTS[@]" '/applog' ) EXCLUDE_BACKUP=("${EXCLUDE_BACKUP[@]}" fs:/applog )