![]() |
#1 |
Member
Join Date: Sep 2016
Posts: 34
![]() |
![]()
I have a script that runs when making a backup copy of virtual machine:
#!/bin/bash /bin/rm -f `find /backup/201* -mtime +1 ` /bin/mkdir /backup/`date "+%Y%m%d"` /bin/mkdir -p /backup/tmp/ /usr/sbin/vzdump --@mail --stop --compress --all --dumpdir /backup/`date "+%Y%m%d"`/ --tmpdir /backup/tmp/ On some containers I got the error: 277: Apr 30 09:00:15 ERROR: Backup of VM 1300 failed - command '/usr/sbin/vzctl start 277' failed with exit code 32 why does the panel starts the machine too early? |
![]() |
![]() |
![]() |
#2 |
ISPsystem team
Join Date: Jul 2014
Posts: 443
![]() |
![]()
Hello
VMmanager database keeps informtion about vm status. If it is disabled, but the database indicates that is should be activated, VMmanager will try to start it. That's why it's better to disable a virtual machine via VMmanager, for example, using mgrctl /usr/local/mgr5/sbin/mgrctl -m vemgr vm.stop elid=277 sok=ok |
![]() |
![]() |
![]() |
Thread Tools | |
|
|