wounded in the line of duty
if you don't have to modify files on both sides at the same time.
rsync [-n] -e ssh -avDH --delete server1:/file/repo /local/copy/file/repo/.
But that means to initially transfert all datas the first time (to have a copy). On the other hand, it's also provides a nice backup (at least a copy somewhere else).
More information about formatting options
· Planet CentOS · Planet Drupal · Planet Grep
use rsync over SSH ?
if you don't have to modify files on both sides at the same time.
rsync [-n] -e ssh -avDH --delete server1:/file/repo /local/copy/file/repo/.
But that means to initially transfert all datas the first time (to have a copy).
On the other hand, it's also provides a nice backup (at least a copy somewhere else).