How to rsync
Lets say you have folder /vz/private/220 on local machine and you want to rsync to server 192.168.1.1 you have to run following command.
rsync -r -a -v -e "ssh -l root" /vz/private/220 192.168.1.1:/vz/private/220
This will sync the local folder and subfolder of 220 to the remote server in /vz/private/220
Cheers!!
Wednesday, August 13, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment