]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/PBSPlugin.pm
list volumes: also return backup type for backups
[pve-storage.git] / PVE / Storage / PBSPlugin.pm
index e186663316d361753768cd973b793a988c77f3cb..4b3f3497b6f7ab4ce2beb722d0771337df8245fa 100644 (file)
@@ -688,6 +688,7 @@ sub list_volumes {
            content => 'backup',
            vmid => int($bid),
            ctime => $epoch,
+           subtype => $btype eq 'vm' ? 'qemu' : 'lxc', # convert to PVE backup type
        };
 
        $info->{verification} = $item->{verification} if defined($item->{verification});