Copy Synch Remote Directories in Linux with Rsync

The best command i use to recursively copy remote directories between servers…

rsync -avz -e ssh username@server_ip_or_Name:full_system_directory_of_remote_files local_destination_dir

Rsync with an ssh identity file…

rsync -avz -e 'ssh -i /path/to/id_rsa' username@server_ip_or_Name:full_system_directory_of_remote_files local_destination_dir

How to Setup Rsync with SSH on UNIX / Linux

How to Backup Linux? 15 rsync Command

Specify identity file (id_rsa) with rsync

Using Rsync and SSH: Keys, Validating, and Automation