You can upgrade Lion’s version of rsync (2.6.9) to 3.x (currently 3.0.9) via Homebrew:
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/rsync.rb
Backing up a remote folder to a local one works like this then:
rsync -avz -e ssh www-data@example.com:/var/www/ /var/www/
Resources
- History of the Homebrew Formula
- (Outdated) info on rsync 3.0.x on Mac OS X: http://www.bombich.com/rsync.html