On Fri, May 25, 2001 at 02:19:59PM -0500, Dave Dykstra wrote:
...
Use the -W option to disable the rsync algorithm. We really ought to make
that the default when both the source and destination are local.
I went ahead and submitted a change to the rsync CVS to automatically turn
on -W when
or both sides while it is hung,
TCP is at fault because it is TCP's responsibility to get data from the
send queue on one side to the receive queue on the other.
- Dave Dykstra
On Tue, May 29, 2001 at 12:02:41PM -0500, Phil Howard wrote:
Dave Dykstra wrote:
On Fri, May 25, 2001 at 02:19:59PM -0500, Dave Dykstra wrote:
...
Use the -W option to disable the rsync algorithm. We really ought to make
that the default when both the source and destination
to the server is lost.
- Dave Dykstra
On Tue, May 29, 2001 at 05:30:13PM -0400, Frank Artusa wrote:
I have a few web servers running Redhat 6.2 which synchronize via two
scripts to an rsync server. They run every 5 and 15 minutes through a cron
job. For many months this worked great until a few days ago when it just
stopped
a long time ago. It would
make rsync's timestamp and filesize comparisons tough, although somebody
said that the size information at least is stored in the header of a
gzipped file.
- Dave Dykstra
is
unreachable). I refactored the logging code to try to make it more
clear where the messages were to be routed. In the process, it is
possible that I may have unknowingly/inadvertently violated some
design intentions (e.g. I seem to remember Dave Dykstra mentioning
that certain server errors were
--exclude '*' / host:path
- Dave Dykstra
; even doing a straight rcp on the
file would fail. It may help to examine an strace. I'm assuming the
/mnt device is over NFS, probably UDP, so it won't even help to use
netstat to examine queues or use tcpdump.
- Dave Dykstra
change
again.
- Dave Dykstra
with index.htm and
main.htm in the backup server, and then we remove main.htm from the
client, when we're uploading the newbackup it will remove main.htm from the
backup server?
Right.
- Dave Dykstra
that one variable.
Isn't there some way to get autoheader to stick it into config.h.in?
Alternatively it could go into a -D as part of @CFLAGS@ in Makefile.in
but I'm not sure I care for that much either.
- Dave Dykstra
the obvious guesses:
Guess 1: something else is already listening on the port. Could be you
had it in inetd.conf, then deleted it, but didn't send a kill
signal to inetd. Check netstat.
Guess 2: you're not running as root.
- Dave Dykstra
rsync completely on every connection so it
would have worked even without my modification. Each individual connection
is pretty short lived so you shouldn't have to worry about any running
rsync daemon processes. Are you having a problem?
- Dave Dykstra
should just run rsyncd in standalone mode and use /sbin/kill -HUP to
restart it after moving the logfile.
Why do that? A kill -HUP will not restart rsync --daemon automatically, it
will just kill it.
- Dave Dykstra
That level of the network is completely outside of rsync's control; if
you're using -e ssh, do you have problems when you use ssh by itself?
- Dave Dykstra
On Thu, Jun 21, 2001 at 12:29:13PM -0700, Adam McKenna wrote:
I have a reproducible problem with rsync --
I have two systems
On Fri, Jun 22, 2001 at 05:26:52PM -0700, Wayne Davison wrote:
On Fri, 22 Jun 2001, Dave Dykstra wrote:
The default value of the non-blocking IO is not
affected by this change -- instead rsync only sets non-blocking IO by
default if the RSYNC_RSH value is rsh or (if remsh is around
with Samba, and he was open to the idea and in fact I think one
person did get access but he never did any updates. If you want to get
update access to the rsync CVS, contact Tridge and Martin. Tridge's home
page is
http://samba.org/~tridge
- Dave Dykstra
In general Britton is correct. The only thing that might help Ivan is the
-u option, which works strictly on file modification time. He didn't
mention having discovered it.
- Dave Dykstra
On Mon, Jun 25, 2001 at 12:01:00PM -0800, Britton wrote:
I do this sort of thing between my home
, is to optimize the network traffic between two
endpoints, but in your case the two endpoints are on the same machine as
far as rsync knows.
- Dave Dykstra
On Mon, Jun 25, 2001 at 02:52:19PM -0700, Jeff Kennedy wrote:
Rally? I had no idea that the dest would delete anything not in
source
is it mean? Can you help me?
Best regards
Ganbaa
It looks like that message is coming from the surrounding software that
is calling rsync, not rsync itself. There is no message that looks like
that in rsync source code. What is invoking rsync?
- Dave Dykstra
On Wed, Jul 04, 2001 at 03:35:00PM +1000, Martin Pool wrote:
On 28 Jun 2001, Kevin Faust [EMAIL PROTECTED] wrote:
I am running rsync on lots of Win2K machines. It was built from the
rsync 2.4.6 sources using Cygwin.
One issue, the rsyncd.conf file requires a use chroot=false
) {
printf(child\n);
setsid();
sleep(10);
printf(bye bye\n);
}
}
strace on that waits until the child process has exitted.
If you really want it to stay in the foreground, edit become_daemon in
socket.c.
- Dave Dykstra
?
Perhaps it should be using clean_fname(). Please try making a fix using
clean_fname() or some other way if it looks better, test it out, and submit
a patch. I wrote that option so I'll make sure the patch gets in if I
think it looks good.
- Dave Dykstra
. Thanks.
All that rsync uses ssh for is to open a bi-directional data pipe and run a
command (another rsync program) on the remote side. It then ignores ssh
(or rsh, the default) and does its own protocol over the pipe between the
two sides.
- Dave Dykstra
On Tue, Jul 10, 2001 at 10:58:21AM -0700, Ben Escoto wrote:
DD == Dave Dykstra [EMAIL PROTECTED]
wrote the following on Tue, 10 Jul 2001 10:34:53 -0500
DD All that rsync uses ssh for is to open a bi-directional data
DD pipe and run a command (another rsync program) on the remote
DD
if there were no
wildcards) to show what the performance impact would be.
- Dave Dykstra
Taking that message as a template, I created the following command to
try to move two files:
rsync -vaR --include 'devel/a.html' --include 'devel/b.html' --include
'*/' --exclude '*'
somebox.foo.com
!
Radu
That command should preserve symbolic links.
Some comments on your options:
-c is almost always not needed, and it's a lot of overhead
-v and -q are opposites, why include both?
- Dave Dykstra
? That will still encrypt the connection, and
even though the authentication key will be well-known it should be safe
because the authentication key is independent of the encryption key.
- Dave Dykstra
On Fri, Sep 14, 2001 at 10:29:37PM -0500, Phil Howard wrote:
Dave Dykstra wrote:
If stunnel doesn't work, how about this idea: what if you hand out an
unencrypted SSH private key to all users, and put in a .ssh/authorized_keys
on the server with a forced command that restricts what
sets seems to be interpreted as 'total runtime' for the rsync
invocation. I now set to 0, which means don't timeout.
On September 9 Tridge submitted a fix to CVS for that problem. See
revision 1.25 at
http://pserver.samba.org/cgi-bin/cvsweb/rsync/generator.c
- Dave Dykstra
the man page for --include and --exclude?
If you want rsync to copy files that are on the other end of a symlink,
you'll need to use -L.
- Dave Dykstra
developed, when source and destination are on the
same machine.
Also, some people have reported some hangs when copying on NFS. It's
unclear to me whether or not the no-hang patches that have been posted to
this mailing list have helped.
- Dave Dykstra
On Tue, Sep 25, 2001 at 03:46:48PM -0500, Jacob
On Wed, Sep 26, 2001 at 09:17:03AM +0300, Coroiu Cosmin Marius wrote:
Dave Dykstra wrote:
On Tue, Sep 25, 2001 at 12:18:31PM +0300, Coroiu Cosmin Marius wrote:
Hello all !
I want to save some of the directories and files from my home dir.For
that I create a new
that the -v option makes things worse. Using netstat on both
sides (and probably on your proxy machine too) may help to detect where
packets are piling up in queues.
- Dave Dykstra
decreased cpu
usage and disk access for higher network usage, use -W. That disables the
rsync algorithm of rolling checksums to send only pieces of files that have
changed.
- Dave Dykstra
the server process has
permission to do so), it doesn't change the group id of the files. The
gid in rsyncd.conf really only has an effect on creating files.
- Dave Dykstra
, Faheem Mitha.
- Dave Dykstra
connecting to
a daemon, a -e command_name is ignored. I suspect you don't want to
use the daemon mode at all, and just let your rsync client launch the
rsync on the remote side via rsh. Then a --exclude /archivelogs/ on
the client side command line should do what you want.
- Dave Dykstra
(although it
looks like Martin hasn't gotten around to doing that).
The relevant messages are at the bottom of the page
http://lists.samba.org/pipermail/rsync/2001-August/thread.html
and near the top of
http://lists.samba.org/pipermail/rsync/2001-September/thread.html
- Dave Dykstra
modules on an rsync --daemon running
under cygwin, connecting to it from Solaris. I haven't tried to debug it
though, and transfers work OK.
- Dave Dykstra
to connect timed out
establishing a connection.
I'm able to connect from cygwin under W2K. You've got the path wrong
though. It's
ftp.funet.fi::ftp/pub/languages/perl/CPAN/
- Dave Dykstra
** --exclude * \
/tmp/empty/ foo@wherever::module
- Dave Dykstra
it was, at the price of changing the inode time. That
will mess up find -cnewer.
- Dave Dykstra
sources separated by space as long as they have same top-level
Multiple sources can be specified in all cases.
- Dave Dykstra
On Wed, Oct 24, 2001 at 11:19:01AM +0200, Ph. Marek wrote:
Hi everybody,
I want to share a feature request I wrote here some time ago.
I'd like to give rsync more
On Wed, Oct 24, 2001 at 02:26:29PM -0500, Justin Banks wrote:
Dave == Dave Dykstra [EMAIL PROTECTED] writes:
Dave The filename paths that the exclude algorithm sees are relative to the
Dave destination path, they do not include it. It should work if you use
Dave --include /bob
telnet: Unable to connect to remote host: Connection refused
- Dave Dykstra
away the reason for making it a
global.
- Dave Dykstra
that it didn't come from rsync.
- Dave Dykstra
. What kinds of
hosts, and what transfer method are you using? Perhaps you'd like to try
appling Wayne Davison's no-hang patch on 2.4.6 rathern than using 2.4.7p1,
from
http://www.clari.net/~wayne/rsync-nohang2.patch
- Dave Dykstra
Sounds like your gcc is not installed properly.
- Dave Dykstra
On Mon, Oct 29, 2001 at 06:17:20PM -0500, SANJEEV wrote:
I have two machine on which I am getting this error. Both machine is Solaris
7 and rsync version I am trying is 2.4.6.
This is the error
checking whether the C compiler
for the connection to see if there are things in the send queue on one
side but nothing in the receive queue on the other. If that is true, it's
an operating system bug.
- Dave Dykstra
an implementation in C
http://sourceforge.net/projects/xdelta/
and Martin Pool has turned it into a library in C (I don't see where the
home page is -- Martin?). I believe somebody else had talked about a java
implementation but never actually did it.
- Dave Dykstra
and creating specific files owned by those logins and
groups.
- Dave Dykstra
rsync instead of samba.
- Dave Dykstra
On Wed, Oct 31, 2001 at 08:05:09AM -0600, Dave Dykstra wrote:
On Tue, Oct 30, 2001 at 02:14:53AM -0800, Ian Kettleborough wrote:
Subject: Re: 2.4.7p1 protocol differences?
Can you please tell me where I can doenload a copy of rsync 2.4.7???
The pre release tarball is at
http
on every file on both sides. Without it, rsync will only
look at files whose timestamps don't match. Since the target directory is
empty in this case, it's computing checksums on all the source files for
nothing.
- Dave Dykstra
been TCP bugs in
Linux fixed in more recent releases.
It's 2.2.19-ac7 or so and has worked for months without incident, until
now.
That sounds recent enough, but I do recommend upgrading your OpenSSH.
- Dave Dykstra
, if there's
not already a fix out there that was just accidentally dropped.
I don't recall anybody else reporting a similar problem, so please try
to track and debug it further.
- Dave Dykstra
there are more issues too.
- Dave Dykstra
On Mon, Nov 12, 2001 at 10:12:54AM -0800, Don Mahurin wrote:
I have attached a patch that supports a new --direct-write option.
The result of using this option is to write directly to the destination
files, instead of a temporary file first
which turns off the rsync algorithm, but then you
give up a lot.
- Dave Dykstra
are really done?
The most recent snapshots of the development version of rsync will give you
more helpful information if you use -vv, but it's not yet in any released
version. The patch is at
http://rsync.samba.org/cgi-bin/cvsweb/rsync/exclude.c.diff?r1=1.32r2=1.33
- Dave Dykstra
On Tue, Nov 13, 2001 at 10:00:59AM -0600, Dave Dykstra wrote:
...
A simplification is this:
+ /iso
+ /iso/1.5.*
+ /iso/1.5.*/i386*
- *
because if you don't have the slash preceding the exclude * it applies at
all levels.
Wait, if i386* matches directories and not just
call bind(2).
- Dave Dykstra
.
- Dave Dykstra
' or start over with an 'ssh-keygen -t rsa' you should be ok.
Use ssh -v verbose mode to find out for sure what's going on. You may also
have permissions problems on the server; it requires that all files and
parent directories not be world readable.
- Dave Dykstra
and authorized_keys
files hold both kinds of keys, and the *2 files are deprecated. He's using
cygwin 1.3.4 which includes OpenSSH 3.0p1.
- Dave Dykstra
On Wed, Nov 14, 2001 at 04:23:32PM -0500, Thomas Lambert wrote:
THAT WAS IT!! I just had authorized_keys and not authorized_keys2. I
knew I had to be close.
THANK YOU! THANK YOU! THANK YOU!
Then your server just be older than openssh 3.0. Right?
- Dave Dykstra
On Thu, Nov 15, 2001 at 09:42:53AM +0800, Michael P. Carel wrote:
I'm using RedHat 6.1 and the latest rsync rpm package. I've adding or
incresing its verbosity by having a triple v :
rsync -acvvv --progress --stats --timeout=0 host::shared path
It does start downloading the file and
example upgrade/,
upgrade/dir1/, and upgrade/dir3/. Sorry, but there's no other way
around it.
- Dave Dykstra
to 1024 in rsync.h. You didn't mention your
operating system, but on Solaris, it is also set the same in param.h so I
would think you would have problems with other tools as well. I don't know
if forcing MAXPATHLEN to a larger value will help or not.
- Dave Dykstra
version of rsync by doing
rsync -a rsync://rsync.samba.org/ftp/unpacked/rsync .
- Dave Dykstra
On Mon, Nov 19, 2001 at 04:06:45PM -0500, Andrew J. Schorr wrote:
I have attached a patch that adds 4 options to rsync that have helped
me to speed up my mirroring. I hope this is useful to someone
is not a socket. Is that
sufficient?
- Dave Dykstra
Excuse me, I meant to say if stdin in IS a socket.
- Dave Dykstra
On Wed, Nov 21, 2001 at 07:46:29AM -0700, [EMAIL PROTECTED] wrote:
Not in daemon mode.
=
# ps -ef |grep rsync
# rsync --daemon
# ps -ef |grep rsync
root 23716 1 0 07
On Wed, Nov 21, 2001 at 11:07:21AM -0800, Jos Backus wrote:
On Wed, Nov 21, 2001 at 08:54:18AM -0600, Dave Dykstra wrote:
Excuse me, I meant to say if stdin in IS a socket.
That mode of operation is indeed useful when running rsync --daemon from inetd
or tcpserver. I am talking about
to be changed. It's surprising that it would prompt for a
password because it needs to be explicitly set up to do so.
If someone could give me a step-by-step approach as to how to configure
rlogin, and subsequently rsync to run through rsh I'd appreciate it.
- Dave Dykstra
No, sorry rsync can't do it. I answered a similar question just last
week. Many people have asked but nobody has made a patch. It's probably
doable but not trivial.
- Dave Dykstra
for excluded files so it
would make no difference.
- Dave Dykstra
to
narrow it down to the smallest reproducible case, preferably one that you
can completely describe to someone else how to reproduce starting from
scratch. Often such an exercise alone will reveal a solution, but if not
at least it allows somebody else to debug it.
- Dave Dykstra
On Tue, Nov
On Tue, Nov 27, 2001 at 05:00:14PM -0500, Lenny Foner wrote:
...
[ . . . ]
I'm pretty sure that rsync won't use up memory for excluded files so it
would make no difference.
...though this also implies (since you say it'd probably use basically
the same mechanism internally)
directories
you want instead of --include */.
- Dave Dykstra
You probably need to set
read only = no
in rsyncd.conf.
- Dave
On Wed, Nov 28, 2001 at 04:29:35PM +0100, Rok Krulec wrote:
Hello,
when I do:
/opt/rsync/bin/rsync /etc/hosts targethost::bkp/
I get:
cannot create .hosts.b0WX1x : File exists
I check the targethost and I get empty
On Thu, Nov 29, 2001 at 09:11:58AM +1100, Martin Pool wrote:
...
1. remove AC_FUNC_MEMCMP from configure.in because it causes Sunos
4.1.4 to die. memcmp() there fails the 8-bit clean test, but it
doesn't matter because memcmp() in rsync is only used to test if
something
of the files on both sides (that is, only a
stat()) and if they match it will not do anything else.
- Dave Dykstra
On Thu, Nov 29, 2001 at 11:46:30PM +0100, Rok Krulec wrote:
Hello Dave,
On Thu, 29 Nov 2001, Dave Dykstra wrote:
What version of rsync are you using? The cannot create message is coming
from receiver.c. Assuming you're using a released version of rsync and not
a development version
is normally sent from the sender to the receiver, but if
the client is the receiver maybe we could figure out a way to have
--files-from only send the list in the other direction.
- Dave Dykstra
administering
that side? If so, what does the rsyncd.conf look like? Most likely it is
either
a) it's run as root but there's no uid = root
b) it's not run as root and there's no use chroot = no
- Dave Dykstra
setting the
group separately with the syntax of OWNER:GROUP or OWNER.GROUP. So maybe
Doug's suggestion is fine. I would suggest that if the owner is specified
but the group isn't then it should default to the owner's group in the
password file rather than preserving the original group.
- Dave
want the [tlibs] module without
knowing the path?
Just refer to it as tlibs:
rsync -acvzP camlinox01::tlibs .
My apologies if I've missed anything obvious.
Thanks,
Paul Donovan
Senior Programmer
SCEE Cambridge
- Dave Dykstra
in between.
- Dave Dykstra
On 4 Sep 2001 21:24:33 +1000, Martin Poole [EMAIL PROTECTED] wrote:
On 14 Aug 2001, Dave Dykstra [EMAIL PROTECTED] wrote:
Martin,
I want to remind you that there's still an open issue regarding copies when
both source and destination are on the local machine (including over NFS
know what happened. I see that gcc warns when you use mktemp:
the use of `mktemp' is dangerous, better use `mkstemp'
so somebody person must have thought they could just replace one with the
other without looking at the man page.
- Dave Dykstra
On Fri, Nov 30, 2001 at 03:18:16PM -0700, [EMAIL PROTECTED] wrote:
You're right. the order dependency actually lets you create very complex
include/exclude rules. for each item, each --include and --exclude is
evaluated in commandline order, until the item has either passed all the
On Sun, Dec 02, 2001 at 04:14:15PM +1100, Martin Pool wrote:
On 27 Nov 2001, Dave Dykstra [EMAIL PROTECTED] wrote:
I can reproduce it, and I think you've stumbled on a significant bug. The
problem is that rsync always assumes stat variable st_rdev, which
contains both the major and minor
/chown distinction, so I don't think it's something
to worry about.
- Dave Dykstra
() in receiver.c. I note that
on that special call, the f_out parameter is set to -1 so the following
little patch fixes it.
I think this is simple enough that I'll just submit it to the rsync CVS as
one of the small changes I put in.
- Dave Dykstra
--- generator.c.O Mon Dec 3 12:29:31
in labeled groups, however.
That's a possibility, although I can't think of any nice logical grouping
off the top of my head.
- Dave Dykstra
, and the only groups it will allow a non-privileged
user to chgrp to are those which groups which the user belongs to.
- Dave Dykstra
archive bit, it must be something in
Netware that I've never heard of, and please explain what it is.
- Dave Dykstra
chgrp
(but not chmod). Only SystemV messed up when they added symlinks, and as
a result had to come up with lchown.
- Dave Dykstra
101 - 200 of 544 matches
Mail list logo