Difference between revisions of "Virsh dumpxml"
Jump to navigation
Jump to search
↑ 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
Line 3: | Line 3: | ||
: <code>--migratable</code> 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<ref>https://linux.die.net/man/1/virsh</ref> | : <code>--migratable</code> 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<ref>https://linux.die.net/man/1/virsh</ref> | ||
+ | |||
+ | |||
+ | :<code>virsh dumpxml MACHINE_NAME > /path/to/savefile.xml</code> | ||
== Activities == | == Activities == |
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
- Offline Migrate or move a virtual machine between two KVM servers without shared storage[4]:
virsh dumpxml
andvirsh define
- Create Live backups with active virsh blockcommit[5]
See also
See also
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM
Advertising: