vma-to-pbs work well There were only two unexpected downsides. By default vma-to-pbs will use the current timestamp when importing the backup which makes importing the backup kind of useless when i have 10 backups from "now". There is `--backup-time <EPOCH>` , but that should be used in the examples imho. Also it would be nice if `vma-to-pbs --help` could specify what EPOCH is, but it seems to be a unix timestamp in seconds.
If you already have newer backups of the VM you get a
`Error: proxmox_backup_connect failed: command error: backup timestamp is older than last backup.`
But we could work around that by moving some files on the pbs server.
And here is a script you maybe also could add to the wiki because i guess migration from file based backups to pbs is the most common use case for this tool:
```bash
#!/bin/bash
for file in *.vma.zst; do
vmid=$(echo "$file" | grep -oP '(\d+)-\d{4}_\d{2}_\d{2}-\d{2}_\d{2}_\d{2}' | grep -oP '^\d+')
backup_time=$(date -d "$(echo "$file" | grep -oP '\d{4}_\d{2}_\d{2}-\d{2}_\d{2}_\d{2}' | tr '_' ' ')" +"%s")
zstd -d --stdout "$file" | \
PBS_FINGERPRINT='PBS-FINGERPRINT' vma-to-pbs \
--repository 'user@realm!token@server

ort:datastore' \
--vmid "$vmid" \
--backup-time "$backup_time" \
--password-file path/to/pbs_password
done
```
And for imported VMs the comment is empty, but this information is there in the `qemu-server.conf` file. It would be nice if the name from there is used as comment.