Thursday, 11 August 2011

Using Rsync

Some quick rsync examples

rsync -av /memstick/ /mymaindisk/
This will rsync the memstick directory to mymaindisk directory preserving all aspects of the files with the archive switch and the verbose switch will show whats happening.

rsync -avz /memdisk/ me@myserver:/backupdir/
This will do rsync over ssh rather than scp, using -a archive switch -z switch this signifies use compression over the link.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home