Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : KVM backup failed when server is online



Threaded Mode | Print  

 KVM backup failed when server is online, kvm with raw storage and local backup is failling (3 Replies, Read 16666 times)
craftplaza
Group: Member
Post Group: Newbie
Posts: 3
Status:
kvm vsp (Raw storage file) backup is only working when vps is turned off
When the vps is turned on, the backup will fail.
Is this a bug???

i appreciate any help in this matter
IP: --   

KVM backup failed when server is online
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 638
Status:
Hi,


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 ?

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

KVM backup failed when server is online
craftplaza
Group: Member
Post Group: Newbie
Posts: 3
Status:
selinux is disabled so no need for a reboot
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
IP: --   

KVM backup failed when server is online
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 638
Status:
Hi,

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

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
2 guests, 0 users.


All times are GMT. The time now is September 27, 2021, 3:06 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:1.565