rsync

April 14th, 2009 by usage | Filed under General

rsync -e ssh –verbose –stats –compress –recursive –times –perms –links –delete –exclude “*bak” –exclude “.svn” –exclude “*~” –exclude “._*” /var/www/vhosts/domain.com user@domain.com:/var/www/vhosts/domain.com

Recommendations:
setup keyless login for user@domain.com
also the user must have permissions to write in /var/www/vhosts/domain.com

tag_iconTags: |

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a comment.

To leave a comment, please fill in the fields below.