proxmox-tape backup --groups parameter always fails

gustini

New Member
Feb 3, 2025
2
0
1
When trying to filter specific VMs for a one-off tape backup using --groups, every possible format fails:
Bash:
# All of these fail:
proxmox-tape backup mystore mypool --drive LTO6 --groups vm/500
# Error: input doesn't match expected format

proxmox-tape backup mystore mypool --drive LTO6 --groups group:vm/500
# Error: schema does not allow additional properties

proxmox-tape backup mystore mypool --drive LTO6 --groups type:vm
# Error: schema does not allow additional properties

proxmox-tape backup mystore mypool --drive LTO6 --groups 'regex:^vm/(500|301)$'
# Error: schema does not allow additional properties

The --groups parameter as documented in the man page appears to be non-functional for proxmox-tape backup. Note that proxmox-tape backup-job create --group-filter works correctly – the issue is specific to the ad-hoc proxmox-tape backup command.


PBS version:
proxmox-backup 4.2.0 running kernel: 7.0.0-3-pve
proxmox-backup-server 4.2.0-1 running version: 4.2.0
proxmox-kernel-helper 9.0.4
proxmox-kernel-7.0 7.0.0-3
proxmox-kernel-7.0.0-3-pve-signed 7.0.0-3
ifupdown2 3.3.0-1+pmx12
libjs-extjs 7.0.0-5
proxmox-backup-docs 4.2.0-1
proxmox-backup-client 4.2.0-1
proxmox-mail-forward 1.0.3
proxmox-mini-journalreader 1.6
proxmox-offline-mirror-helper 0.7.3
proxmox-widget-toolkit 5.1.9
pve-xtermjs 5.5.0-3
smartmontools 7.4-pve1
zfsutils-linux 2.4.1-pve1

best regards

Matthias