Restore places all containers on same disk

term

Well-Known Member
Aug 29, 2013
71
1
48
I have a VM that runs on containers on a few separate disks. The backup correctly gathers them up into one file, but the restore process dumps them all into the first drive.

Since the location data is stored in the vm config file, is there some way for the restore process to put the containers back on the drive they came from? I could see a situation where a user could be able to backup but unable to restore if the size of the restored containers exceeds the size of the first local drive.

I did try changing the destination drive to different (larger) disk, but it failed (timed out) for some reason.

Thanks!
 
Since the location data is stored in the vm config file, is there some way for the restore process to put the containers back on the drive they came from?

Yes, you need to run qmrestore manually without specifying a target storage.
I assume you talk about a KVM VM, not a container?
 
Yes, you need to run qmrestore manually without specifying a target storage.
I assume you talk about a KVM VM, not a container?

Thanks, that worked!

Yes, my terminology is incorrect. I was referring to the individual qcow disks that are assigned to the KVM VM.
 
This is a very old thread, but would it be possible to add this option to the restore menu from the web interface? Maybe call the item "restore to original location"?
 

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!