Re: Can rsync monitor a file system?

2006-06-27 Thread Stuart Halliday
monitor a file system? I am trying to get two servers to copy each others data to the other server. I need it to be done real time a not use a cron. Can rsync running as a daemon monitor the files system to trigger a transmission? If so how do I configure it? I am running Solaris 9

Re: Can rsync monitor a file system?

2006-06-27 Thread Martin Schröder
2006/6/27, Stuart Halliday [EMAIL PROTECTED]: Maybe you need Unison rather than rsync? http://www.cis.upenn.edu/~bcpierce/unison/ Or if you are using Linux, drdb (http://www.drbd.org/)? Best Martin PS: http://en.wikipedia.org/wiki/Top-posting :-( -- To unsubscribe or change options:

Re: Can rsync monitor a file system?

2006-06-27 Thread Christoph Biedl
Tim H wrote... what about scripts running every 30 seconds on each machine, thats lighter then rsync just to compare.. eg. Server1 ls -lR /* ~/files1 scp files1 SERVER2:~ Server2 ls -lR /* ~/files2 (do a diff command here on files1 vs. files2) (if different,

Re: Can rsync monitor a file system?

2006-06-27 Thread Charles . Berman
Subject Re: Can rsync monitor a file system

Re: Can rsync monitor a file system?

2006-06-27 Thread Daniel Laffien
Subject Re: Can rsync monitor a file system? what about scripts running every 30 seconds on each machine, thats lighter then rsync just to compare.. eg. Server1 ls -lR /* ~/files1 scp

Re: Can rsync monitor a file system?

2006-06-27 Thread Christoph Biedl
[EMAIL PROTECTED] wrote... How would you set a cron to run every 30 seconds? Otherwise it could work for me. With a start every 30 seconds you're in the high risk an an overrun. Don't do cron, use a simple shell script with while true; and sleep 30. But believe me, this is a bad idea.

RE: Re: Can rsync monitor a file system?

2006-06-27 Thread tony
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote... How would you set a cron to run every 30 seconds? Otherwise it could work for me. With a start every 30 seconds you're in the high risk an an overrun. Possibly saved by max connections =1 or such. Don't do cron, use a simple shell script

Re: Re: Can rsync monitor a file system?

2006-06-27 Thread Tim H
. rm -f isrunning.txt fi - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; rsync@lists.samba.org Sent: Tuesday, June 27, 2006 12:41 PM Subject: RE: Re: Can rsync monitor a file system? [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote... How would you set

Can rsync monitor a file system?

2006-06-26 Thread Charles . Berman
I am trying to get two servers to copy each others data to the other server. I need it to be done real time a not use a cron. Can rsync running as a daemon monitor the files system to trigger a transmission? If so how do I configure it? I am running Solaris 9. Thank you.

RE: Can rsync monitor a file system?

2006-06-26 Thread Tony Abernethy
: Monday, June 26, 2006 2:47 PM To: rsync@lists.samba.org Subject: Can rsync monitor a file system? I am trying to get two servers to copy each others data to the other server. I need it to be done real time a not use a cron. Can rsync running as a daemon monitor the files system to trigger

Re: Can rsync monitor a file system?

2006-06-26 Thread Tim H
) - Original Message - From: Tony Abernethy [EMAIL PROTECTED] To: [EMAIL PROTECTED]; rsync@lists.samba.org Sent: Monday, June 26, 2006 1:16 PM Subject: RE: Can rsync monitor a file system? To monitor the file system, you have to have something down inside the file system. Unless you know what you