Using Rsync to Mirror Directories to a Remote Host

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.

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

About the author

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


Leave a Reply