Friday, May 18, 2012

Backup by using rsync in Linux and Windows

In Linux: man rsync


rsync -r ../WorkSpace username@servername:/home/username/backup-machine

In Windows, you can use cygwin
1. Install cygwin
2. search rsync, and install rsync package
3. run rsync

rsync -r /cygdrive/c username@servername:/home/username/back-windows

No comments: