Mounting existing vm disk to another vm?

Sheerpython

New Member
Mar 17, 2021
7
0
1
23
Hello

I recently had one of my vm's stop working and would like to recover the data from the vm's disk. I currently have another vm running and wanted to mount the disk of the old vm in the new one so i can backup the data. After googling for a bit i couldn't find the right answer for my problem, is there a way of doing this? Or did i just lose the data? (the old vm isn't able to boot anymore)

Greetings,

Roy
 
Hello

I recently had one of my vm's stop working and would like to recover the data from the vm's disk. I currently have another vm running and wanted to mount the disk of the old vm in the new one so i can backup the data. After googling for a bit i couldn't find the right answer for my problem, is there a way of doing this? Or did i just lose the data? (the old vm isn't able to boot anymore)

Greetings,

Roy
You can do this by changing the VM config files using the CLI and manually renaming the virtual HDD.
And I would suggest you start using VZdump or PBS so you can easily restore a VM from backup.
 
You can do this by changing the VM config files using the CLI and manually renaming the virtual HDD.
So if I understand this the right way then I can just copy the name in the photo and place it in the conf. Of my other vm (while its offline)1615993544440.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!