Backup remote folders with rsync

rsync option source-directory destination-directory

Or, a better example:

rsync -chavzP --stats user@remote.host:/path/to/copy /path/to/local/storage

And here's the full explain shell explanation

chavzP is, respectively:

And

...Can backup multiple files/folders by specifying them with, for example:

rsync -e ssh root@remote.com:/path/to/file :/path/to/second/file/ /local/directory/

Can use:

--dry-run

...to see what will be done, before executing.

Source

See also