Backingup of VM client with multiple hard drives in multiple LVM storage

sunstar

New Member
Apr 14, 2013
5
0
1
We have Proxmov 2.3 and we are trying to backup a VM client that has multiple drives which are residing in different storage (e.g. VM 101 has 2 hard disks - one in network storage 32GB and another in a local LVM 40GB).

The problem we encountered is that when we do a backup for this VM, the resulting backup lzo file is only 2MB in size. When we did a restore of the backup, it only restored one of the hard disks (the 32GB from the network storage).

How can we create a backup of the entire VM that has multiple drives? And how can we restore a VM with multiple drives to it's individual storage locations?

Thanks!
 
How can we create a backup of the entire VM that has multiple drives?

That work out of the box (unless you exclude a drive explicitly by setting backup=no).

You can restore to the original storage if you run qmrestore on the console without specifying a target storage.
 
That work out of the box (unless you exclude a drive explicitly by setting backup=no).

You can restore to the original storage if you run qmrestore on the console without specifying a target storage.

You were right. The 40GB hard disk was set to backup=no. Unchecking this resulted in a complete backup of both hard disks.

Now, our issue is with the restore. We can restore the backup but it will restore all the hard disks to the same storage target. Unlike in the original configuration where each hard disk is located in a different storage. Is there a way to do this?
 
Hi dietmar,

I understand what you mean in your first answer but what we want to do is to restore the backup in another proxmox machine with different storage names. I've read the qmrestore man file and I don't see any option to do what we want to do. Any suggestions? Thanks again!
 
this should work on current pves, just select the backup in you storage and in the restore dialog choose your target storage
 

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!