[%- IF err -%] [%- SET titleprefix = "Backup failed" -%] [%- ELSE %] [%- SET titleprefix = "Backup successful" -%] [%- END -%] [%- IF target -%] [%- SET titlesuffix = "to ${target} - ($fqdn)" -%] [%- ELSE %] [%- SET titlesuffix = "($fqdn)" -%] [%- END -%]
[% log %]