Rsync and SCP protocol connection between machines for copying files over network.

RSYNC (Remote Sync) :

Rsync is really useful for remote and local file synchronization tool. We can do copy files from remote and local system. The features are Speed, Security, less Bandwidth.

The below command is copy the backup directory to your system from a server. Assume that the source file server IP Address is and ssh port : 1234,

#   rsync -avzW --progress --rsh='ssh -p1234' root@   /home/linuxfaq/.

root@'s password:

stdin: is not a tty
receiving incremental file list
        5753 100%    2.74MB/s    0:00:00 (xfer#1, to-check=1095/1097)
sent 376787 bytes  received 1240305989 bytes  4454875.32 bytes/sec
total size is 1408231887  speedup is 1.14

Total copied files size is 1.4 GB
4.2 MiB/sec

--progress option displays detailed progress

SCP (Secure Copy) :

SCP command is used for copies files securely between hosts through network, for example the source file server IP address is and ssh port number is 1234.  
I would like to copy the backup directory to my system.

Note :  (.) dot is specified to current directory.
# cd /root

# scp -P 1234 -r root@ .

root@'s password:
stdin: is not a tty
linux.gif                                        100% 3208     3.1KB/s   00:01    
jquery.js                                       100% 7133     7.0KB/s   00:00    
bigfil.png                                      100%   12KB   6.2KB/s   00:02