Maybe you need Unison rather than rsync?
http://www.cis.upenn.edu/~bcpierce/unison/
--
Stuart Halliday
ECS Technology ltd
Registered in Scotland - #212513
-Original Message-
From: [EMAIL PROTECTED]
To: rsync@lists.samba.org
Date: Mon, 26 Jun 2006 15:47:17 -0400
Subject: Can rsync
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:
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,
How would you set a cron to run every 30 seconds? Otherwise it could work
for me.
__
Charles Berman
Senior Unix Administrator
Think Globally
Tim H
Hi there,
I'm using the FAM tool FILESCHANGED with a small script, that calls RSYNC
delayed after
FILESCHANGED reports a changed file in a tree, maybe this is useful for
you.
fileschanged -r -t 10 [path] | while read file; do
rsync [path]
done
I'm sycing the whole tree and not the
[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.
I tried compare-dest... does it automatically hardlink, or does
link-dest hardlink or both? may my problem is I tested on a cygwin
windose macine and there is no linking.
On 6/26/06, Wayne Davison [EMAIL PROTECTED] wrote:
On Mon, Jun 26, 2006 at 10:15:38AM -0700, tim594 wrote:
With traditional
[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
Wayne,
Frank Fegert wrote:
Wayne,
thanks for your prompt response!
[self-inflicted pain snipped]
thanks for your help, but never mind! As usual, the problem
was sitting in front of the keyboard, between the headphones
;-)
For security reasons i use a wrapper script on the sending
machine,
couldnt you do something like this?:
always running.sh---
while true
do
if file not exists isrunning.txt
sh checkfiles.sh
sleep 30
done
checkfiles.sh---
# compare dirlist here
if [ need to run rsync ] and [file not exist isrunning.txt]
touch isrunning.txt
rsync .
On Tue, Jun 27, 2006 at 09:02:49AM -0700, tim h wrote:
I tried compare-dest... does it automatically hardlink, or does
link-dest hardlink or both?
Just --link-dest uses hard-links. Using --compare-dest just omits
matching files from the destination that are up-to-date in the
compare-dest
https://bugzilla.samba.org/show_bug.cgi?id=3845
--- Comment #2 from [EMAIL PROTECTED] 2006-06-27 22:59 MST ---
Is there a possible ETA for this feature? It would nicely solve the problem I
have with files getting left over after a GPRS link goes down in mid-transfer.
My current,
12 matches
Mail list logo