On  2025-02-04 17:39, Fiona Ebner wrote:
Am 04.02.25 um 17:21 schrieb Fiona Ebner:
Am 04.02.25 um 17:13 schrieb Markus Frank:
Add an option to choose a file format (qcow2, raw, vmdk) when restoring
a vm backup to file based storage. This options allows all disks to be
recreated with the specified file format if supported by the target
storage.

Signed-off-by: Markus Frank <m.fr...@proxmox.com>
---
Choosing the file format and storage for each disk would require much
more change and would be more in line with Feature Request #4275.

It's not that much more change. And if we add this now and then the
implementation for the other feature, we'll have duplicate/conflicting
options, which is also not nice. We can deprecate this option then of
course and later drop, but why not just go for the more complete
solution directly? Or at least a solution that can be built upon for
adding that feature later?

Although I guess it can still serve as a fallback later too, so maybe we
don't even need to drop it. For new multi-word options, please use
kebap-case. Also, the option should not be "pve-qm-image-format", but
"pve-storage-format".

I have an idea how we could avoid deprecating this.
We could make this the default storage/format option, and override this 
selection per vm disk if desired.
In the WebUI for example we could make this per disk selection in an advanced 
tab.


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to