Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-02-2003, 07:13 AM   #1
LQ Newbie
Registered: Feb 2003
Location: Sweeden
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Question How to keep 2 directory trees synchronised?

I need to keep 2 large directory structures (i.e. more than 200.000 files) residing on 2 different servers synchronised.

I'm interested in two scenarios: master/copy and dual master (i.e. changes can occur in both trees).

Anybody have some ideas about how to do this?

Old 07-02-2003, 12:48 PM   #2
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57

its been around since the beginning of time, only copies accross the differences, works piped through ssh with authorized_keys so everything is encrypted, it has a few dozen options to keep the perms, the ctimes, delete removed files on the opposite side. It would be really easy to build a simple script for it and then just run that on a cronjob.


Old 07-02-2003, 01:01 PM   #3
LQ Newbie
Registered: Feb 2003
Location: Sweeden
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: 0
Sounds like the cure I was looking for.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data structures - Trees rahul_kulkarni Programming 1 05-16-2005 06:45 AM
Audio on Multiple Machines Synchronised ar_howard Linux - Software 0 05-29-2004 05:58 PM
CVS trees in windows DAChristen29 Linux - Software 0 01-13-2004 10:12 AM
Deleting Whole Trees Odd_Bloke Linux - Newbie 1 08-29-2003 06:14 PM
Not seeing forest for the trees zuessh Linux - Software 16 02-17-2003 08:34 PM

All times are GMT -5. The time now is 04:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration