Friday, April 1, 2011

Syntax of linux command rsync

Advertisements

Syntax of rsync :

rsync -avzh --timeout=14000 /backups/private/7545/    178.216.48.23:/vz/private/7545/

If the ssh port of the destination server is different. Then use the following options:

rsync -avzh --rsh='ssh -p2222' --timeout=14000 /vz/private/    208.91.129.133:/vz/private/

or

rsync -avzh -e "ssh -p 2222" --timeout=14000 /vz/private/ 208.91.129.133:/vz/private/

No comments:

Post a Comment

Be nice. That's all.