From vma.zst to pbs
Installare i pacchetti necessari:
apt install proxmox-vma-to-pbs zstd
Setta la password del namespace in un file per non farla rimanere nello storico:
read -rs P; printf '%s' "$P" > /root/.config/proxmox-backup/datastore.password; chmod 600 /root/.config/proxmox-backup/datastore.password
Lancia la conversione:
zstd -dc <path_file_.vma.zst> | \
vma-to-pbs \
--repository <user>@pam@<IPpbs>:<port>:<datastorename> \
--fingerprint <fingerprint> \
--password-file /root/.config/proxmox-backup/datastore.password \
--ns <namespace> \
--vmid <IDvm> \
--yes