KVM backup failed when server is online https://www.softaculous.com/board/index.php?tid=17677 <![CDATA[KVM backup failed when server is online]]> https://www.softaculous.com/board/index.php?tid=17677&tpg=1#p52788
Can you open a support ticket, we can provide a patch file so that you can try it on your server.


https://softaculous.deskuss.com/open.php?topicId=2]]>
Thu, 06 May 2021 11:57:19 GMT https://www.softaculous.com/board/index.php?tid=17677&tpg=1#p52788
<![CDATA[KVM backup failed when server is online]]> https://www.softaculous.com/board/index.php?tid=17677&tpg=1#p52766 path for storage is /storage
path for backup is /backup

a backup file is created but  size stays at zero
Ubuntu 20.04

it just says ERROR: Unable to backup the VPS
but no erros in log


[Command] /usr/bin/ionice -c 2 -n 0 -p 273437
[Retval] 0
[Output]: Hide
Array
(
)
Checking for running tasks
Now running...
[Command] /usr/bin/virsh version
[Retval] 0
[Output]: Hide
Array
(
    [0] => Compiled against library: libvirt 6.0.0
    [1] => Using library: libvirt 6.0.0
    [2] => Using API: QEMU 6.0.0
    [3] => Running hypervisor: QEMU 4.2.1
    [4] =>
)
[Command] /usr/bin/qemu-system-x86_64 --version
[Retval] 0
[Output]: Show
[Command] /usr/bin/virsh list
[Retval] 0
[Output]: Hide
Array
(
    [0] =>  Id  Name    State
    [1] => -----------------------
    [2] =>  9    v1005  running
    [3] =>  16  v1006  running
    [4] =>
)
Creating the backup folders
Creating backup of DISK: 1 [Size: 220.000GB]
[Command] /usr/bin/virsh qemu-monitor-command v1005 '{"execute":"query-block"}'
[Retval] 0
[Output]: Hide
Array
(
    [0] => {"return":[{"io-status":"ok","device":"","locked":false,"removable":false,"inserted":{"iops_rd":0,"detect_zeroes":"off","image":{"virtual-size":236223201280,"filename":"/storage/v1005-dwyesuzb9hcibyaj-c6kfrav2p6jysvxb.raw","format":"raw","actual-size":236223234048,"dirty-flag":false},"iops_wr":0,"ro":false,"node-name":"libvirt-1-format","backing_file_depth":0,"drv":"raw","iops":0,"bps_wr":0,"write_threshold":0,"encrypted":false,"bps":0,"bps_rd":0,"cache":{"no-flush":false,"direct":true,"writeback":true},"file":"/storage/v1005-dwyesuzb9hcibyaj-c6kfrav2p6jysvxb.raw","encryption_key_missing":false},"qdev":"/machine/peripheral/virtio-disk0/virtio-backend","type":"unknown"}],"id":"libvirt-12949"}
    [1] =>
)
ERROR: Unable to backup the VPS]]>
Tue, 04 May 2021 17:33:41 GMT https://www.softaculous.com/board/index.php?tid=17677&tpg=1#p52766
<![CDATA[KVM backup failed when server is online]]> https://www.softaculous.com/board/index.php?tid=17677&tpg=1#p52753

May I know what error does it shows ?

Also what is the vps disk storage path and backup path ?

Did you tried to disable selinux and reboot and then check ?]]>
Mon, 03 May 2021 06:27:08 GMT https://www.softaculous.com/board/index.php?tid=17677&tpg=1#p52753
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=17677&tpg=0#p52745 When the vps is turned on, the backup will fail.
Is this a bug???

i appreciate any help in this matter
]]>
Sat, 01 May 2021 22:49:05 GMT https://www.softaculous.com/board/index.php?tid=17677&tpg=0#p52745