Update Workflows/Veeam Backup & Replication/Migrating VMs to ProxmoxVE.md
This commit is contained in:
@ -40,3 +40,15 @@ nmcli connection up ens18
|
||||
|
||||
!!! success "VM Successfully Fixed"
|
||||
At this point, the virtual machine should be booting, and have network access, bringing it back into production use.
|
||||
|
||||
### Convert VM Disk from `.RAW` to `.QCOW2`
|
||||
Given that the migration process via Veeam Backup & Replication ignores the destination disk format (at the time of writing this), it is necessary to convert the format of the disk from `.raw` to `.qcow2` so that you can perform things like VM snapshots, which are essential during updates, development, and testing.
|
||||
|
||||
Open a shell onto the ProxmoxVE server that is currently holding the VM that you need to convert the disks for, then locate the disks (this is not explained here, yet), and run the following commands to convert them.
|
||||
```sh
|
||||
# Convert a Single Disk
|
||||
qemu-img convert -f raw -O qcow2 source.raw destination.qcow2
|
||||
|
||||
# Convert All Disks in a Given Directory
|
||||
find . -type f -name "*.raw" -exec sh -c 'qemu-img convert -f raw -O qcow2 "$1" "${1%.raw}.qcow2"' _ {} \;
|
||||
```
|
Reference in New Issue
Block a user