Rsync between two servers

rsync -zav --progress original_files_directory/ root@host(IP):/path/to/destination/
copying files from one server to another using rysnc. Root access need to be allowed on the destination.

By: haithamg
2009-02-10 17:01:04

What Others Think

if you can't log in as root but you are a sudoer, you can use --rsync-path="sudo rsync" rsync -zav --progress --rsync-path="sudo rsync" original_files_directory/you@host(IP):/path/to/destination/
katylava · 645 weeks and 2 days ago
There are many online building tools which help you out to make your good project without the coding and many servers. Most of the people are getting the top essay writing service 2020 so that it will keep me sound good voice.
gileqal · 99 weeks and 3 days ago
She stole his dog and dyed it key lime green kitchen remodeling contractor santa barbara ca
tillyracker · 52 weeks and 6 days ago
seofox · 26 weeks and 3 days ago
From our last posts, any student might be familiar with Blackboard and so we thought to introduce you to Banner. Just find everything about it below in some easy sections. Being a student of an institution requiring banner login, this below article will tell you nearly everything not just about login but also about Support.
aaliya · 20 weeks and 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: