[SOLVED] Migrate VM backups to lvm-data on 4.3

namron

New Member
Aug 27, 2015
19
2
1
Hi,

today I did a fresh install of proxmox 4.3. Previously I was running 3.x
Beforehand I made backups of my KVM VMs via the web-interface.

With the new LVM-Thin data structure, how can I restore my backups into local-lvm instead of local?

Regards,

Norman
 
Sometimes things are just too obvious :)
I assumed it won't be possible, so I didn't bother to check the options in the gui and tried to do it over CLI instead. so, out of curiosity, what would be the right arguments for qmrestore to restore to local-lvm?

Furthermore, how do I handle these virtual drives? More explicitly, how would I expand one?
 
https://pve.proxmox.com/wiki/Backup_and_Restore
With
Code:
pvesm status
you can see all your storages. For example here:
Code:
HDD-vmdata-KVM  zfspool 1  2563131544  168261676  2394869868 7.06% 
HDD-vmdata-LXC  zfspool 1  2410836944  15967076  2394869868 1.16% 
SSD-vmdata-KVM  zfspool 1  178119415  33106709  145012706 19.09% 
SSD-vmdata-LXC  zfspool 1  145012834  127  145012706 0.50% 
archiv  nfs 1  1666799616  380108800  1286690816 23.30% 
iso-images  dir 1  5454548480  3059678720  2394869760 56.59% 
sicherung  nfs 1  1486776320  200085504  1286690816 13.96%
I would like to restore an backup from "sicherung" to local "HDD-vmdata-KVM". Then the command would be:
Code:
qmrestore vzdump-qemu-122-2016_11_12-04_23_13.vma -storage HDD-vmdata-KVM 400
 

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!