OpenVZ Forum


Home » General » Support » vzdump - backup failes, rsync error (failed with exit code 12)
vzdump - backup failes, rsync error [message #50916] Sun, 01 December 2013 11:15
postcd is currently offline  postcd
Messages: 73
Registered: April 2013
Member
cat vzdump-520.log
Quote:
Nov 24 06:08:15 INFO: Starting Backup of VM 520 (openvz)
Nov 24 06:08:15 INFO: status = CTID 520 exist mounted running
Nov 24 06:08:15 INFO: starting first sync /home/vps/520 to /var/tmp/vzdumptmp625025
Nov 24 06:20:07 INFO: rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
Nov 24 06:20:08 INFO: rsync: connection unexpectedly closed (882169 bytes received so far) [sender]
Nov 24 06:20:08 INFO: rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
Nov 24 06:20:09 ERROR: Backup of VM 520 failed - command '/usr/bin/rsync --stats --numeric-ids --bwlimit=10240 -aH --delete --no-whole-file --inplace /home/vps/520 /var/tmp/vzdumptmp625025' failed with exit code 12


Please can anyone share idea why this backup failed and how to fix it?

My idea is that there was not enough space on device where backup file /var/tmp/vzdumptmp625025 was created?

df -h
Quote:
Filesystem Size Used Avail Use% Mounted on
/dev/md2 9.7G 5.6G 3.7G 61% /
/dev/md3 1.8T 180G 1.6T 11% /home
tmpfs 16G 0 16G 0% /dev/shm


If that is cause, how can i set another path instead of /var/tmp/.. What do you think?

-----
I think i fixed that by adding: --tmpdir /path/to/tmpdir into vzdump command (setting another dir)

[Updated on: Sun, 01 December 2013 11:31]

Report message to a moderator

Previous Topic: mainline kernel
Next Topic: Kernel is not running in Openvz
Goto Forum:
  


Current Time: Sun Jul 28 08:15:20 GMT 2024

Total time taken to generate the page: 0.02760 seconds