Using Rsync to Mirror Directories to a Remote Host

Last Updated on

Like robocopy, rsync will not overwrite existing files unless otherwise instructed – making it suitable for mirroring changed files only.  From an bash console local or remote, this example will mirror a directory from the host server to the server “ml350.”  Rsync will prompt for the user password to complete the connection.

1
rsync -raz /storage/ root@ml350:/home/applications/ --progress
Lima

About the author

Lima is the visual nautical indicator for "stop instantly."

Leave a Reply