[prev in list] [next in list] [prev in thread] [next in thread]
List: qemu-discuss
Subject: Query Status of Incremental Backups
From: "Michael Lee" <cslinuxboy () fastmail ! us>
Date: 2019-10-05 1:34:18
Message-ID: 337c1fde-e7fc-43c8-8849-54de1f8c4bad () www ! fastmail ! com
[Download RAW message or body]
I'm using the 'qemu-monitor-command' via virsh to execute backups of VMs using the \
'block-dirty-bitmap-*' commands. The incr. backups are working great but I need a way \
to check the progress/status of the backup operations. I especially want to use this \
in scripting the backups.
For example I run the below operation, and I get an id back, but can't find a way to \
check the status of the job with the ID. I've watched this video \
https://www.youtube.com/watch?v=zQK5ANionpU and had hope but it looks like most of \
the features talked about in the video are experimental and not available yet. I'm \
running Manjaro as the host OS so I should have access to the latest and greatest \
libvirt/qemu versions. Thanks.
--------------------------------------------------------------------
virsh qemu-monitor-command Mint-19.1 --pretty \
'{"execute": "transaction",' \
' "arguments":' \
' {' \
' "actions":' \
' [' \
' {"type": "block-dirty-bitmap-add",' \
' "data": {"node": "drive-virtio-disk0", "name": "bitmap0"}' \
' },' \
' {"type": "drive-backup",' \
' "data": {"device": "drive-virtio-disk0",' \
' "target": "/libvirt-backups/Mint-19.1_backup_full.qcow2",' \
' "sync": "full", "format": "qcow2"' \
' }' \
' }' \
' ]' \
' }' \
'}'
----------------------------------------------------------------------
Mike Lee
cslinuxboy@fastmail.us
[Attachment #3 (text/html)]
<!DOCTYPE html><html><head><title></title><style \
type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>I'm \
using the 'qemu-monitor-command' via virsh to execute backups of VMs using the \
'block-dirty-bitmap-*' commands. The incr. backups are working great but I need \
a way to check the progress/status of the backup operations. I especially want \
to use this in scripting the backups.<br></div><div><br></div><div>For example I run \
the below operation, and I get an id back, but can't find a way to check the status \
of the job with the ID. I've watched this video <a \
href="https://www.youtube.com/watch?v=zQK5ANionpU">https://www.youtube.com/watch?v=zQK5ANionpU</a> \
and had hope but it looks like most of the features talked about in the video are \
experimental and not available yet. I'm running Manjaro as the host OS so I \
should have access to the latest and greatest libvirt/qemu versions. \
Thanks.<br></div><div>--------------------------------------------------------------------<br></div><div>virsh \
qemu-monitor-command Mint-19.1 --pretty \<br></div><div>'{"execute": "transaction",' \
\<br></div><div>' "arguments":' \<br></div><div>' \
{' \<br></div><div>' "actions":' \
\<br></div><div>' [' \
\<br></div><div>' \
{"type": "block-dirty-bitmap-add",' \
\<br></div><div>' \
"data": {"node": "drive-virtio-disk0", "name": "bitmap0"}' \
\<br></div><div>' \
},' \<br></div><div>' \
{"type": "drive-backup",' \
\<br></div><div>' \
"data": {"device": "drive-virtio-disk0",' \
\<br></div><div>' \
"target": "/libvirt-backups/Mint-19.1_backup_full.qcow2",' \
\<br></div><div>' \
"sync": "full", "format": "qcow2"' \
\<br></div><div>' \
}' \<br></div><div>' \
}' \<br></div><div>' ]' \
\<br></div><div>' }' \
\<br></div><div>'}'<br></div><div>----------------------------------------------------------------------<br></div><div \
id="sig19415461"><div class="signature"><br></div><div class="signature">Mike \
Lee<br></div><div class="signature">cslinuxboy@fastmail.us<br></div></div><div><br></div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic