Hello everyone,
I've been having problems making my scheduled backups for a while now.
These are configured in STOP mode. I have verified that, when the copy starts, the machine shutdown order is sent, but it does not turn off, but instead restarts.
Sometimes the copies are made and other times I always get the same error: "command 'qm shutdown 101 --skiplock --keepActive --timeout 600' failed: exit code 255"
Detailed backup logs:
vzdump 101 --mailnotification always --quiet 1 --storage vm_storage_3 --mode stop --compress zstd --mailto xxxx@xxxx.com
101: 2023-07-10 23:00:02 INFO: Starting Backup of VM 101 (qemu)
101: 2023-07-10 23:00:02 INFO: status = running
101: 2023-07-10 23:00:02 INFO: backup mode: stop
101: 2023-07-10 23:00:02 INFO: ionice priority: 7
101: 2023-07-10 23:00:02 INFO: VM Name: XXXXX
101: 2023-07-10 23:00:05 INFO: include disk 'sata0' 'vm_storage_1:101/vm-101-disk-0.qcow2' 200G
101: 2023-07-10 23:00:06 INFO: stopping virtual guest
101: 2023-07-10 23:00:09 INFO: VM 101 qmp command 'query-status' failed - unable to connect to VM 101 qmp socket - timeout after 31 retries
101: 2023-07-10 23:10:09 INFO: VM quit/powerdown failed
101: 2023-07-10 23:10:09 ERROR: Backup of VM 101 failed - command 'qm shutdown 101 --skiplock --keepActive --timeout 600' failed: exit code 255
I have the agent install in the VM (Windows 10 Pro).
Below I show you the configuration of my machine (100.conf):
agent: 1
boot: order=scsi0;net0;ide0
cores: 2
ide0: none,media=cdrom
machine: pc-i440fx-7.2
memory: 16384
meta: creation-qemu=7.2.0,ctime=1693895517
name: MODULA
net0: virtio=BA:19:21:18:7E:BC,bridge=vmbr0,firewall=1
net1: virtio=CA:55:31C:79:15,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win10
scsi0: vm_storage_1:100/vm-100-disk-0.qcow2,cache=writeback,discard=on,size=200G
scsihw: virtio-scsi-pci
smbios1: uuid=3238d25b-5889-4e60-b3eb-1b9b20f9040c
sockets: 2
vmgenid: 622f35ec-96e3-46ac-9bec-d4d8e12a1749
Can you help me solve my problem?
Thanks in advance.
I've been having problems making my scheduled backups for a while now.
These are configured in STOP mode. I have verified that, when the copy starts, the machine shutdown order is sent, but it does not turn off, but instead restarts.
Sometimes the copies are made and other times I always get the same error: "command 'qm shutdown 101 --skiplock --keepActive --timeout 600' failed: exit code 255"
Detailed backup logs:
vzdump 101 --mailnotification always --quiet 1 --storage vm_storage_3 --mode stop --compress zstd --mailto xxxx@xxxx.com
101: 2023-07-10 23:00:02 INFO: Starting Backup of VM 101 (qemu)
101: 2023-07-10 23:00:02 INFO: status = running
101: 2023-07-10 23:00:02 INFO: backup mode: stop
101: 2023-07-10 23:00:02 INFO: ionice priority: 7
101: 2023-07-10 23:00:02 INFO: VM Name: XXXXX
101: 2023-07-10 23:00:05 INFO: include disk 'sata0' 'vm_storage_1:101/vm-101-disk-0.qcow2' 200G
101: 2023-07-10 23:00:06 INFO: stopping virtual guest
101: 2023-07-10 23:00:09 INFO: VM 101 qmp command 'query-status' failed - unable to connect to VM 101 qmp socket - timeout after 31 retries
101: 2023-07-10 23:10:09 INFO: VM quit/powerdown failed
101: 2023-07-10 23:10:09 ERROR: Backup of VM 101 failed - command 'qm shutdown 101 --skiplock --keepActive --timeout 600' failed: exit code 255
I have the agent install in the VM (Windows 10 Pro).
Below I show you the configuration of my machine (100.conf):
agent: 1
boot: order=scsi0;net0;ide0
cores: 2
ide0: none,media=cdrom
machine: pc-i440fx-7.2
memory: 16384
meta: creation-qemu=7.2.0,ctime=1693895517
name: MODULA
net0: virtio=BA:19:21:18:7E:BC,bridge=vmbr0,firewall=1
net1: virtio=CA:55:31C:79:15,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win10
scsi0: vm_storage_1:100/vm-100-disk-0.qcow2,cache=writeback,discard=on,size=200G
scsihw: virtio-scsi-pci
smbios1: uuid=3238d25b-5889-4e60-b3eb-1b9b20f9040c
sockets: 2
vmgenid: 622f35ec-96e3-46ac-9bec-d4d8e12a1749
Can you help me solve my problem?
Thanks in advance.