]> git.proxmox.com Git - pve-storage.git/commit
pbs: use vmid parameter in list_snapshots
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 14 Jul 2022 11:24:10 +0000 (13:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 14 Jul 2022 11:30:16 +0000 (13:30 +0200)
commitaf07f67a89109d0b8eb68d1ec9af999e9f8298c9
tree166e4303ac659fc24280199e7997f9779ea21d83
parent0d4c46bf350b7f8800d0dfc21b88deee7ae0de8b
pbs: use vmid parameter in list_snapshots

Particularly for operations such as pruning backups after a
scheduled backups we do not want to list the entire
store.

(pbs_api_connect is moved up unmodified)

Note that the 'snapshots' CLI command only takes a full
group, but the API does allow specifying a backup-id without
a backup-type!

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
PVE/Storage/PBSPlugin.pm