Backup error, snapshot or suspend

chencho

Well-Known Member
Nov 25, 2010
92
12
48
Hi all.

I have my proxmox 2.1 and cannot access it over web, but it's ok over ssh.

I need to give my vm's, but i cannot make a dump woth snapshot mode (i have lvm and free space) or suspend mode.

Here is my las log:

Code:
may 28 15:45:16 INFO: Starting Backup of VM 101 (openvz)
may 28 15:45:16 INFO: CTID 101 exist mounted running
may 28 15:45:16 INFO: status = running
may 28 15:45:16 INFO: backup mode: suspend
may 28 15:45:16 INFO: ionice priority: 7
may 28 15:45:16 INFO: starting first sync /var/lib/vz/private/101/ to /backups/vzdump-openvz-101-2012_05_28-15_45_16.tmp
may 28 18:23:28 ERROR: Backup of VM 101 failed - command 'rsync --stats -x --numeric-ids -aH --delete --no-whole-file --inplace '/var/lib/vz/private/101/' '/backups/vzdump-openvz-101-2012_05_28-15_45_16.tmp'' failed: interrupted by signal

Over 3 hours and failed!

I cannot stop my vm to make a backup, it's in production :(

All is updated
 
Just a thought... do you run the command from bash inside a "screen" session? Otherwise when you interrupt your ssh connection, the vzdump command is interrupted too.
 
Yes, but i dont close my terminal; maybe by inactivity.

Better to use nohup? or cron?
 
I'm a big fan of the "screen" command (aptitude install screen). Maybe is overkill for what you just want to do now, but is a MUST if you do administrative tasks over ssh.