how to increase shutdown timeout in backup?

vsafonin

Member
Nov 22, 2018
4
0
6
33
Hi, how to increase shutdown timeout on backup with 600 to 1200 sec, my vm does not have much time to turn off, as a result, there is no archive and vm is in turned off status.
my VM:
windows server: 2008 r 2
proxmox: 5.2-5
qemu agent: 7.6.2

my backup log:

Code:
INFO: stopping vm
INFO: VM quit/powerdown failed
ERROR: Backup of VM 101 failed - command 'qm shutdown 101 --skiplock --keepActive --timeout 600' failed: exit code 255
INFO: Backup job finished with errors

Thanks!! And sorry my bad English....
 
Can you shutdown the vm via the gui button or via command line?
I doubt that an increase would work, the timeout is already very high.

And please upgrade to the latest version if possible.
 
Can you shutdown the vm via the gui button or via command line?
I doubt that an increase would work, the timeout is already very high.

And please upgrade to the latest version if possible.
Thanks ,i got it.
 
Can you shutdown the vm via the gui button or via command line?
yes, it working! during backup it is also turned off, but archiving does not take place because of a long shutdown, and my vm not poweron after error
P.S> SQL Server installed on this vm
 
Can you monitor the VM while backup and check if it hangs on any point?
I'm curious, how long does it take when you perform a normal shutdown?

It's not possible to increase the timeout via gui, but you can edit the vzdump config to increase the wait time.
Check the following link, there is a paramter called stopwait, there you can add a higher timeout
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_configuration_12
 
ok, i update it server and i will check it out time normal shutdown.
next archive next week


thanks for information!!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!