Results 1 to 3 of 3
Hi Folks,
I have the following scenarion:
Red Hat Server 64bit on the LAN where admin can save various files into 2 directories.
Red Hat Server 32bit on the Web ...
- 07-19-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 6
Remote File Sync Utility ??
Hi Folks,
I have the following scenarion:
Red Hat Server 64bit on the LAN where admin can save various files into 2 directories.
Red Hat Server 32bit on the Web where users can save various files into 2 directories.
I am looking for a utility or solution which I can run on the LAN server and will 2-way sync the files between its own version of the folder and the remote servers version of the folder.
Maybe some utility that will run a cron job once or twice per day to ensure that the directories on both Servers contain exactly the same files - proper 2 way sync
Anyone got any ideas or suggestions?
Cheers All
- 07-19-2009 #2
rsync
Blll uuuu !@#$%^& (this is to make my message at least 10 characters long)
- 07-19-2009 #3
rsync can be used, of course.
However, two way sync is requested, so one might use unison.
But to be honest, I question the creation of redundant data and also the setup.
To me it is not entirely clear, if it is this:
Setup A)
------------
- LAN-Server
+ admin-directory 1
+ admin-directory 2
+ user-directory 1
+ user-directory 2
- INET-Server
+ admin-directory 1
+ admin-directory 2
+ user-directory 1
+ user-directory 2
or
Setup B)
------------
- LAN-Server
+ directory 1
+ directory 2
- INET-Server
+ directory 1
+ directory 2
In case of B)
You say, _only_ admins will access the dirs on LAN Server, r8?
Then why not just let them acess the INET server, therefore avoiding redundancy.
Or is this not possible because of bandwidth (cost, throughput) between LAN/INET?
Also, some notes:
- Not all files are good for replication through rsync/unison
* live database files
* cvs/svn/<whatever> repository files
* logfiles
- even with rsync/unison you might run into situations where you have to resolve conflicts.
Imagine a file (aka ONE filename) has been updated in the same directory on both servers on the same day.
lots of questions, for something so simple as a file copy


Reply With Quote
