Promox backup on local - task error

czdavid

Member
May 17, 2012
31
0
6
Hello,

I cant solve this problem with backup - log:

Code:
[COLOR=#000000][FONT=tahoma]INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot --compress gzip --storage local --node ns399351[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Starting Backup of VM 100 (openvz)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: CTID 100 exist mounted running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status = running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: mode failure - unable to dump into snapshot (use option --dumpdir)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: trying 'suspend' mode instead[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: backup mode: suspend[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: ionice priority: 7[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: starting first sync /var/lib/vz/private/100/ to /var/lib/vz/dump/vzdump-openvz-100-2012_05_16-23_34_47.tmp[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Number of files: 934309[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Number of files transferred: 887334[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Total file size: 56188128140 bytes[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Total transferred file size: 56076105861 bytes[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Literal data: 56076333767 bytes[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Matched data: 0 bytes[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: File list size: 21838900[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: File list generation time: 0.001 seconds[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: File list transfer time: 0.000 seconds[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Total bytes sent: 56142636235[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Total bytes received: 17061407[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: sent 56142636235 bytes  received 17061407 bytes  4998860.44 bytes/sec[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: total size is 56188128140  speedup is 1.00[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: first sync finished (11234 seconds)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: suspend vm[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Setting up checkpoint...[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: 	suspend...[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Can not suspend container: Device or resource busy[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Error: task 692906/1298(ntpd) uses posix timers[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Checkpointing failed[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]ERROR: Backup of VM 100 failed - command 'vzctl --skiplock chkpnt 100 --suspend' failed: exit code 16[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Backup job finished with errors[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: job errors[/FONT][/COLOR]

Backup on local isnt working for me.
If is this problem solved on this forum - please, give me link on that thread (I cant find anything helpful).

Thank you for your help!

Best regards

David
 
search the forum - this question is already discussed (around 100 times).

"mode failure - unable to dump into snapshot"
 
Thank you.

I understand - I have to backup outside /var/lib/vz ... but...
For directory /var/lib/vz (like unit) I have 900 GB and for system "/" I have only 20 GB.
When I set directory for backup outside /var/lib/vz I cant make backup because I have alocated only 20 GB.
Is possible solve this and backup on local HDD?

Thank you...
 
based on your disk size, you should have around 100GB for root - if you have only 20 GB you set this manually.?
anyways, storing backups on the same physical disk is not the best idea.

but if you are familiar with LVM you can change the setup to meet your requirements.
see also http://tldp.org/HOWTO/LVM-HOWTO/
 
Its installation template from OVH and now is late for reinstall.
I need make backup on local disk -> after that by script upload to another server by FTP (SSH or rsync isnt possible).

Isnt exist some quick how to use LVM for my need? :)
 
if you know LVM its not that hard, read the docs and try it on a test environment (e.g. install Proxmox VE inside a VM and test the procedure there without any risk).
 
Thank you... and last question...
Is possible backup vm to /var/lib/vz by suspend or other backup method?
 
of course, "suspend" and "stop" mode works in your setup.
 
How long aprox. takes backup for 100 GB in suspend mode? :) If you know..of course... thank you ;)
 
fully depends on your hardware/network.
 
Suspend mode will work if you disable 'ntpd' inside the container.

I have same issue trying to backup vz container within proxmox to local drive. The "storage" field nothing is shown? I read about disabling 'ntpd' inside container. Is this done inside proxmox gui or command line? I'm new to linux - where/how to disable the ntpd?

I'm reading up on LVM as its recommended way to do back up BUT for now I want to quickly do this on local storage until I can learn/test LVM method a bit more. Appreciate info to get me to do backup on local drive which I will ftp to other source for backup. Also, can I do the normal vzdump / vzrestore to back up via command line?

--Joe