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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!