Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linux rsync HELP

Status
Not open for further replies.

desiram07

IS-IT--Management
Joined
Nov 26, 2006
Messages
1
Location
US
On my server 1, I have a folder called "Download Video" in which I have 50 another folders.

And on my server 2, I was able to copy 12 out of those 50 folders in a folder called "Download"

How can I use rsync to make sure that all of the files in bothe servers are synchronized?
 
Hi,

1st, you have to configure ssh login without password between the 2 servers : see thread
2nd, take a look at this site, it contains a sample script that may help you to write your own.

3rd and last, configure cron or some other scheduler to run your script periodically.

Ali
 
something like
Code:
rsync -vrae /source_directory username@server2:/target_directory


CHeers

QatQat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top