View Single Post
Old 06-29-2017, 03:50 AM   #1
Member
 
Join Date: Sep 2016
Posts: 34
Alsaleem is on a distinguished road
Default openvz backup failed

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?
Alsaleem is offline   Reply With Quote