restore of KVM - Systems

debianfan

New Member
Sep 13, 2011
17
0
1
Hi @all,

i do every night a backup of the KVM-Systems (1 with debian lenny & 2 systems with debian squeeze) by using this small shell script (with crontab):


Code:
datum=`date +%Y%m%d-%H%M%S`
mkdir /backup/${datum}
/usr/sbin/vzdump --dumpdir /backup/${datum}/ --stop --compress 101
/usr/sbin/vzdump --dumpdir /backup/${datum}/ --stop --compress 102
/usr/sbin/vzdump --dumpdir /backup/${datum}/ --stop --compress 103

The problem is the restore.

I tried to use the tool vzrestore - but he said that the system i wan't to restore is still existing.

The question is now:

Should i delete the system i wan't to restore first (in the proxmox administration menu) and then i am able to restore?

thanx

Sebastian
 
first, with vzrestore you cannot restore a KVM VM - you need to use qmrestore.

you just need to specify another VMID if you do not want to delete the original VM - all this can be done via GUI. Backup Now, restore and also the schedule.
 
just go to the 'backup' tab and you will the available backup for restore.

additionally, you can go to the storage content and restore from there.
 
yes, I am thinking in 2.x only.

1.x series is outdated and you should upgrade. sorry for confusion.
 

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!