The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,806 other followers

ESXi 5.1 and rsync –

Posted by jpluimers on 2014/03/23

Interesting: ESXi 5.1 and rsync – It works in ESXi 5.5 too, and the French link below has a version that runs on ESXi 4.

Now you can do these forms of backup:

Install it like this:

  1. cd /tmp
  2. wget
  3. tar xvf esxi-static-rsync-3-1-0.tar.gz
  4. mv rsync-static /bin/
  5. rsync-static
  6. ln -s /bin/rsync-static /bin/rsync
  7. rsync

To change the firewall:

  1. cat > /etc/vmware/firewall/rsync.xml
  2. paste the XML text
  3. press CTRL-D to save the file
  4. esxcli network firewall refresh
  5. esxcli network firewall ruleset list

When using rsync, these links will get you up to speed:


Alternate download for now:

6 Responses to “ESXi 5.1 and rsync –”

  1. […] instance with rsync is great for making a local […]

  2. tj said

    Hi, 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-des│······t=/home/files/porchefiles/2014.08.02-21.48.13/tree /home/files/porchefiles/2014.08.03-08.58.10/tree

    Both sender & receiver are on 3.1.1.


    • jpluimers said

      I have no idea, as I haven’t compiled rsync statically (how do you do that?), I just downloaded statically linked builds.

    • jpluimers said

      Finally figured this out with rsync 3.1.2: add the --protocol=29 parameter to force using a lower protocol version.

      A blog post is coming up on this in a few months.

  3. […] A while ago, I wrote about getting rsync on ESXi: ESXi 5.1 and rsync – […]

  4. […] a follow up on my recent rsync on ESXi 5.1 post, as – when rsync in ESXi terminates the hard way because of a lost SSH connection – […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: