diff --git a/proxmox/vzdump-hook-lxc-jessie-template.pl b/proxmox/vzdump-hook-lxc-jessie-template.pl index b1d4d5f..9db66c0 100755 --- a/proxmox/vzdump-hook-lxc-jessie-template.pl +++ b/proxmox/vzdump-hook-lxc-jessie-template.pl @@ -66,7 +66,7 @@ if ($phase eq 'job-start' || # no die cause if the previous backup exit on tarfile copy, the link might not exist # Link last template file to a better name - system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \;") == 0 || + system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \\;") == 0 || die "link template to a better name failed"; # Ensure to remove template older than $RETENTION_TIME diff --git a/proxmox/vzdump-hook-lxc-stretch-template.pl b/proxmox/vzdump-hook-lxc-stretch-template.pl index 931790e..d984dae 100755 --- a/proxmox/vzdump-hook-lxc-stretch-template.pl +++ b/proxmox/vzdump-hook-lxc-stretch-template.pl @@ -66,7 +66,7 @@ if ($phase eq 'job-start' || # no die cause if the previous backup exit on tarfile copy, the link might not exist # Link last template file to a better name - system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \;") == 0 || + system ("find $TEMPLATE_DIR -iname 'vzdump-lxc-$vmid*.tar.*' -mmin -60 -exec ln -s {} $TEMPLATE_DIR/$TEMPLATE_FILE_LINK \\;") == 0 || die "link template to a better name failed"; # Ensure to remove template older than $RETENTION_TIME