KVM - libvert backup - vm backup

Soldato
Joined
18 May 2010
Posts
22,893
Location
London
I've been asked to backup a vm we have running on our Red Hat 6 server running KVM.

I've not done this before, so thought I'd ask here.

I've shut the quest down and want to create a back up.

Running virsh domblklist vmname shows me the location of a .img file.

Is it as simple as using cp to copy the .img file to another directory?

There is a lot of chatter on the internet about .xml files.

---

I just renamed to it to vmname.img.bak will this work? I.e if we need to restore it can I just rename it to vmname.img and it will be importable again?
 
Last edited:
Back
Top Bottom