Difference between revisions of "Virsh dumpxml"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
# [[Create Live backups]] with active [[virsh blockcommit]]<ref>https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit</ref>
 
# [[Create Live backups]] with active [[virsh blockcommit]]<ref>https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit</ref>
  
== See also ==
+
== Related commands ==
 
* <code>[[virsh define]]</code>
 
* <code>[[virsh define]]</code>
 
* <code>[[virsh dominfo]]</code>
 
* <code>[[virsh dominfo]]</code>
Line 18: Line 18:
 
* <code>[[virsh domblklist]]</code>
 
* <code>[[virsh domblklist]]</code>
 
* [[virtinst]]
 
* [[virtinst]]
 
  
 
==See also==
 
==See also==

Revision as of 15:06, 14 January 2020

virsh dumpxml[1] {guest-id, VM_MACHINE_NAME or uuid} [--inactive] [--security-info] [--update-cpu] [--migratable] [2]

--migratable with --migratable one can request an XML that is suitable for migrations, i.e., compatible with older libvirt releases and possibly amended with internal run-time options. This option may automatically enable other options (--update-cpu, --security-info, ...) as necessary[3]


virsh dumpxml MACHINE_NAME > /path/to/savefile.xml

Activities

  1. Offline Migrate or move a virtual machine between two KVM servers without shared storage[4]: virsh dumpxml and virsh define
  2. Create Live backups with active virsh blockcommit[5]

Related commands

See also

  • https://libvirt.org/sources/virshcmdref/html-single/#sect-dumpxml
  • https://linux.die.net/man/1/virsh
  • https://linux.die.net/man/1/virsh
  • https://serverfault.com/questions/434064/correct-way-to-move-kvm-vm
  • https://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
  • Advertising: