I was kindly addressed here, Serverfault from Stackoverflow to pose my question.
I am running the following command on a RHEL7 hypervisor to create a live backup (disk image) of a running kvm, which is running a production docker service on the kvm I want a live snapshot.
Many documents that I have read take me to this command to get a live snapshot of a running KVM:
# virsh snapshot-create-as --domain undercloud-vm undercloud-vm-snapshot --diskspec vda, file = / backup / images / undercloud-vm.qcow2 --quiesce --disk-only --atomic
error: internal error: the QEMU agent command can not be executed
& # 39; guest-fsfreeze-freeze & # 39 ;: could not be opened / var / lib / docker / overlay2:
Not wanting to mess with the permissions of directory / var / lib / docker / overlay2 of KVM, I have resorted to this question here. And if someone has run into this problem of trying to make a live snapshot of a KVM that is running a dockable window inside it. The main thing here is that the KVM is production, and you can not simply stop or freeze to create the snapshot, you must continue to run and process data.
Any pointer to get a live backup would be greatly appreciated.
In the KVM: (executing: / usr / libexec / qemu-kvm …)
- SO: Red Hat Enterprise Linux Server version 7.5 (Maipo)
- Channel: org.qemu.guest_agent.0 has been added as virtual H / W
- YUM: yum install qemu-guest-agent
- S / W: Docker version 1.13.1, compilation 6e3bb8e / 1.13.1
- HW: PowerEdge FC630, Dell FX2s 36 CPU, 128 GB RAM operating system: Red Hat
- Enterprise Linux Server version 7.6 (Maipo)
- SW: qemu-img-rhev = 10: 2.10.0-21.el7_5.4
- qemu-kvm- (common-) rhev = 10: 2.10.0-21.el7_5.4