0

This question already has an answer here:

I statically compiled the latest rsync (3.1.1) & can successfully execute the command on my ESXI server. I am getting the following error from rsync however:

ERROR: out of memory in receive_sums [sender]
rsync error: error allocating core memory buffers (code 22) at util2.c(102) [sender=3.1.1]
rsync: [generator] write error: Broken pipe (32)

Do you know how I could go about making this work? The command I am using is:

rsync -vrltH --delete -pgo --stats -S -D --numeric-ids --bwlimit=50 -A -X --exclude-from=/home/files/porchefiles/2014.08.03-08.58.10/exclude --link-dest=/home/files/porchefiles/2014.08.02-21.48.13/tree hq.porchecars.com:/home/ /home/files/porchefiles/2014.08.03-08.58.10/tree

Both sender & receiver are on 3.1.1.

Thanks

marked as duplicate by ewwhite, Ward, mdpc, MadHatter, HBruijn Aug 5 '14 at 13:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What are you trying to copy/move? – ewwhite Aug 3 '14 at 9:58
2

This doesn't look like something you should be rsyncing to/from an ESXi host. VMware is NOT a general-purpose operating system and the use of rsync is not supported. Hence the fact that you had to compile a static version of the utility.

Can you find another approach to move/copy the data you have? If this is for backups, you really should be using something with a VMware API or a purpose-built utility.

Also see: Why don't people just use rsync to back up vmware guests?

  • Ok I hear you. So how about I use ghettoVCB to store the backups on a btrfs client which dedupes on completion & then sends the fs differences to the backup server? Crazy or reasonable? – tozjerimiah Aug 3 '14 at 10:39
  • 1
    I actually recompiled the rsync static binary using 3.1.1 and got rid of this error (I had it on 3.1.0) and tried to use it on an ESXi server the way you suggest (ghettoVCB with 2 copies for each VM). Synchronization of ~620GB takes 18 hours, even if the copies do not change name (directories are VMName-0 and VMName-1, only rotated) and the files do not change much. Actual effect is like I just copied the files everyday. – Alex Mazzariol Oct 9 '14 at 10:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.