GEt alsl virsh configs

Cutton Eye asked:

I’ve several qemu vm’s managed with virsh.
I’ve already created a backup of the images. Now I want to create a backup of the config files. How can I do that?

The only solution I’ve figured out so fare is: virsh dumpxml vmname > bachuk.xmlsee. But this stores only one machine.

Is there a simple way to get just all of the configs with simple commands?

My answer:

The entire libvirt configuration is stored in various files in the /etc/libvirt directory, which you can back up via any means you wish.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.