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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>