Backup hook, TARFILE variable not available since 7.1 update

This has been changed in pve-manager 6.2-10 back in July 2020:
Code:
pve-manager (6.2-10) pve; urgency=medium

  * vzdump-hook-script: rename TARFILE to TARGET and add fallback to TARFILE
    for compatibility reasons

 -- Proxmox Support Team <support@proxmox.com>  Tue, 14 Jul 2020 10:28:42 +0200

This was taken from apt changelog pve-manager. It seems the TARFILE fallback has been removed with PVE 7.
 
  • Like
Reactions: tabnul
This has been changed in pve-manager 6.2-10 back in July 2020:
Code:
pve-manager (6.2-10) pve; urgency=medium

  * vzdump-hook-script: rename TARFILE to TARGET and add fallback to TARFILE
    for compatibility reasons

 -- Proxmox Support Team <support@proxmox.com>  Tue, 14 Jul 2020 10:28:42 +0200

This was taken from apt changelog pve-manager. It seems the TARFILE fallback has been removed with PVE 7.

Thank you for your reply. This indeed fixes it.
I do think the example code as referenced in the docs should be updated then;

https://git.proxmox.com/?p=pve-mana...e70a4a9775438ab658da2191;hb=refs/heads/master