]> git.proxmox.com Git - pve-manager.git/commit - PVE/API2/VZDump.pm
backup: include IDs for non-existent guests
authorFabian Ebner <f.ebner@proxmox.com>
Thu, 22 Oct 2020 10:30:13 +0000 (12:30 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Oct 2020 14:29:26 +0000 (16:29 +0200)
commit7f87414894716ef835521f177f4091884befe100
tree5f8fe75e589d6ead7d18399c563df8fc53c7023e
parentd51f5a1e8d0771c4b009c1b2c827ee259e9b87f6
backup: include IDs for non-existent guests

Like this, there will be a backup task (within the big worker task)
for such IDs, which will then visibly (i.e. also visible in the
notification mail) fail with, e.g.:
unable to find VM '123'

In get_included_guests, the key '' was chosen for the orphaned IDs,
because it cannot possibly denote a nodename.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
PVE/API2/VZDump.pm
PVE/VZDump.pm
test/vzdump_guest_included_test.pl