Re: [PATCH] Add --omit-{device,special}-times options

2023-05-26 Thread Marc Aurèle La France via rsync
On Fri, 26 May 2023, Wayne Davison wrote: On Tue, May 16, 2023, Marc Aurèle La France wrote: Similar to --omit-{dir,link}-times: --omit-device-times omit device files from --times --omit-special-times omit sockets and fifos from --times I'm not convinced these are needed at present

[PATCH] Add --omit-{device,special}-times options

2023-05-16 Thread Marc Aurèle La France via rsync
Similar to --omit-{dir,link}-times: --omit-device-times omit device files from --times --omit-special-times omit sockets and fifos from --times Also, fix corner case that allows --omit-dir-times to be ignored. See unchanged_attrs() and recv_generator()'s call to try_dests_non(). Marc. diff

[PATCH] Fix the counting of device files and symlinks

2023-05-16 Thread Marc Aurèle La France via rsync
Device files should be counted as devices, not symlinks. Marc. diff -aNpRruz -X /etc/diff.excludes rsync-3.2.7/delete.c devel-3.2.7/delete.c --- rsync-3.2.7/delete.c2020-06-13 20:15:02.0 -0600 +++ devel-3.2.7/delete.c2020-06-13 20:15:02.0 -0600 @@ -188,7 +188,7

[PATCH] Fix documentation typo

2023-05-16 Thread Marc Aurèle La France via rsync
s/receiveing/receiving/ Marc. diff -aNpRruz -X /etc/diff.excludes rsync-3.2.7/rsync.1.md devel-3.2.7/rsync.1.md --- rsync-3.2.7/rsync.1.md 2022-10-16 13:27:30.0 -0600 +++ devel-3.2.7/rsync.1.md 2022-10-16 13:27:30.0 -0600 @@ -245,7 +245,7 @@ to be copied to different

RE: [Bug 5124] Parallelize the rsync run using multiple threads and/or connections

2019-02-07 Thread Marc Roos via rsync
I made a bash script doing this in parallel, checks how many rsyncs are running and then starts another 'concurrent one'. My parallel sessions are against different servers. I doubt if it would make any sense doing multiple sessions between the same two hosts. My single rsync sessions was

Security issues when rsyncing directories as root

2018-10-18 Thread Marc Haber via rsync
for an rsync daemon with the "path" and "write only" options set? If so, would I need to have an rsync daemon _running_ on the remote side if I use the rsync --rsh=ssh /path/to/local/dir host::module syntax? Greetings Marc -- ----

RE: Rsync between 2 datacenters not working

2018-03-30 Thread Marc Roos via rsync
vlan without any hops. But thanks for the link to the nfs-test that looks interesting! -Original Message- From: Dan Stromberg [mailto:drsali...@gmail.com] Sent: donderdag 29 maart 2018 4:36 To: Marc Roos Cc: rsync Subject: Re: Rsync between 2 datacenters not working If reducing

RE: Rsync between 2 datacenters not working

2018-03-28 Thread Marc Roos via rsync
can lead to backing up /proc's contents (many > pseudofiles), if you don't exclude it, even if you use rsync's -x > option. > > On Sun, Mar 25, 2018 at 6:43 AM, Marc Roos via rsync > <rsync@lists.samba.org> wrote: >> >> I still stuck with these errors >> >>

Rsync between 2 datacenters not working

2018-03-25 Thread Marc Roos via rsync
I still stuck with these errors packet_write_wait: Connection to 192.168.10.43 port 22: Broken pipe rsync: connection unexpectedly closed (534132435 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [receiver=3.0.9] rsync: connection

RE: What does this mean? select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)

2018-01-24 Thread Marc Roos via rsync
ct(1, [0], [], NULL, {60, 0}) = 0 (Timeout) >From man 2 select: int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); So, it is waiting for file descriptor #1 to become available with a 60 second timeout which it is hitting. Use lsof to find

What does this mean? select(1, [0], [], NULL, {60, 0}) = 0 (Timeout)

2018-01-22 Thread Marc Roos via rsync
I have been having broken pipe messages for a while. I think since a network architecture change. But I am not sure because I have not been monitoring the errors closely before. I added this (https://rsync.samba.org/issues.html) rsync-debug.sh script with strace of 100. But I have no idea how

Understand include exclude script

2012-10-19 Thread Marc
hi i use a script to backup my homedir, that work but there are somes things i don't really understand. here my script rsync -arv --delete --prune-empty-dirs --include-from=include.txt --exclude-from=exclude  /home/bob /media/usbkey include.txt file + .Skype/*** + .local/ + .local/share/ +

Re: Understand include exclude script

2012-10-19 Thread Marc
will be excluding that way. On 10/19/12 08:28, Marc wrote: hi i use a script to backup my homedir, that work but there are somes things i don't really understand. here my script rsync -arv --delete --prune-empty-dirs --include-from=include.txt --exclude-from=exclude  /home/bob /media

Re: rsync takes long pauses in xfer ?

2012-06-12 Thread Marc Rechté
Eric, How would you know (debug) that size+time compare fails in a rsync session ? Thanks Marc Le 12/06/2012 15:39, ericbamba...@discover.com a écrit : Alan, What is the rsync command used? If it hits a large group of files with no differences (easy to believe across 12TB) but has

--stats and performance issue

2012-06-12 Thread Marc Rechté
...@discover.com a écrit : Marc, Well you can remove the timestamp checks by adding --size-only. If that speeds things up or removes the long pauses the timestamps were to blame. If the behavior is the same then I'm wrong. If I'm right then you might want to synchronize your clocks or use

--stats and performance issue

2012-06-10 Thread Marc Rechté
Hello, My question is regarding the interpretation of --stats output and whether I have a performance issue or not. Can the client/server architecture (rsync client on one machine, rsync server on another machine) be far slowlier than a local rsync session ? This is the ouput of an rsync

Re: change of behaviour on rsync -R and top level symlinks?

2010-06-19 Thread Marc MERLIN
On Fri, Jun 18, 2010 at 10:44:45PM -0700, Wayne Davison wrote: On Wed, Jun 16, 2010 at 1:37 PM, Marc MERLIN m...@merlins.org wrote: I should keep my /a - /c symlink on the destination without --no-implied-dirs since I have /a - /c on the source too, and this is what rsync 2 did. See

Re: change of behaviour on rsync -R and top level symlinks?

2010-06-16 Thread Marc MERLIN
On Wed, Jun 16, 2010 at 09:11:57AM +0200, francis.montag...@sophia.inria.fr wrote: On Tue, 15 Jun 2010 18:58:36 PDT Marc MERLIN wrote: The /data symlink is clobbered and replaced by a directory. Very bad! Any idea what's going on here and is there a magic flag to work around

Re: change of behaviour on rsync -R and top level symlinks?

2010-06-16 Thread Marc MERLIN
On Wed, Jun 16, 2010 at 01:09:07PM -0700, Marc MERLIN wrote: On Wed, Jun 16, 2010 at 09:11:57AM +0200, francis.montag...@sophia.inria.fr wrote: On Tue, 15 Jun 2010 18:58:36 PDT Marc MERLIN wrote: The /data symlink is clobbered and replaced by a directory. Very bad! Any idea

change of behaviour on rsync -R and top level symlinks?

2010-06-15 Thread Marc MERLIN
! destination:/# ls -ld /data /data/etc2 drwxrwxrwt 2 root root 4096 2010-06-15 18:53 /data -rw-r--r-- 1 produser prod4 2010-06-15 18:53 /data/etc2 Any idea what's going on here and is there a magic flag to work around this problem? Thanks, Marc -- A mouse is a device used to point at the xterm you

some file are not there

2010-02-20 Thread Marc Collin
hi i try to backup some dir of my hd i had an old script... but i lost it... i tried to create a new one, without success include.txt + .kde/ + .kde/share/ + .kde/share/apps/ + .kde/share/apps/kmail/*** + .kde/share/apps/kwallet/*** - .** exclude.txt rpm/ mp3/ Download/ .* my backup

retrieve files without local dir compare

2009-10-14 Thread Marc Mertes
this with rsync - if possible. thanks and regards marc -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

asking for root password

2008-10-23 Thread Marc Fromm
routine and thus I don't know if there is a file on the old server that rsync is communicating with to bypass asking for roots password. What is required for rsync to use the above command to pull backups from the new server, and not want root's password entered? Thanks Marc -- Please use

RE: asking for root password

2008-10-23 Thread Marc Fromm
:[EMAIL PROTECTED] Sent: Thursday, October 23, 2008 2:25 PM To: Marc Fromm Cc: rsync@lists.samba.org Subject: Re: asking for root password On 23.10.2008 13:29, Marc Fromm wrote: We are using rsync to pull backups created on our server. The command below is run as a cronjob and it works great. rsync

Re: exit code for vanished files in 2.6.9

2007-12-10 Thread Marc DeTrano
Matt McCutchen wrote: If a file has vanished and there is also an error that affects the correctness of the transfer, the code 23 takes precedence over the code 24. Check rsync's output for any error messages. If there are none, Indeed that is the case. I did not realize at first

exit code for vanished files in 2.6.9

2007-12-07 Thread Marc DeTrano
I am using rsync 2.6.9 (as currently packaged in Mandriva 2007.1) Ever since the latest update of the package I have been getting an exit code of 23 with the output file has vanished: {filename}. For partial transfers due to vanished files, I (and my script) would expect exit code 24. (man

problem to backup some folder - folder empy

2006-05-20 Thread Collin Marc
hi my script to backup my home folder BDIR=/home/$USER EXCLUDE=exclude.txt OPTS=-a -r -v -p -t --del --exclude-from=$EXCLUDE --progress BACKUPDIR=/media/dvdrecorder rsync $OPTS $BDIR $BACKUPDIR my exclude file + .kde/ + .kde/share/ + .kde/share/apps/ + .kde/share/apps/kmail/*** +

Re: include and exclude file

2006-04-15 Thread Marc Collin
Le Samedi 15 Avril 2006 11:39, Matt McCutchen a écrit : This is a very common problem that people encounter with includes. If you exclude .kde, rsync won't even go inside, so it won't notice that .kde/share/apps/kmail is included. There are three solutions. I give example filter files that

include and exclude file

2006-04-14 Thread Marc Collin
hi i try to include and exclude file when i do a rsync #!/bin/sh # directory to backup BDIR=/home/collinm/test/home # includes file - this contains a wildcard pattern per line of files to exclude INCLUDE=include.txt # excludes file - this contains a wildcard pattern per line of files to

rsync don't remove folder i erased......

2006-04-01 Thread Marc Collin
hi i try to do a backup of my home folder... rsync -a -r -v --exclude-from=exclude.txt /home/test /tmp/ rsync do the backup... when i erase folder in /home/test and do a rsync, rsync don't erase it in /tmp/test... any idea? thanks -- To unsubscribe or change options:

ACL and RSYNC possible bug

2005-08-18 Thread Marc Perkel
OK - I think this should be fixed. Running rsync -aA on a file system that doesn't support ACLs I get: send_acl: sys_acl_get_file(mysql, SMB_ACL_TYPE_ACCESS): Operation not supported rsync error: some files could not be transferred (code 23) at main.c(789) And - it aborts. Seems to me it

Re: ACL and RSYNC and -a

2005-08-12 Thread Marc Perkel
Paul Slootman wrote: On Thu 11 Aug 2005, Marc Perkel wrote: Forgive me if this has already been asked but - shouldn't the '-a' switch include -X and -A for ACLs and extended attributes? I thought that -a means everything - so when everything grows -a should grow

Re: ACL and RSYNC and -a

2005-08-12 Thread Marc Perkel
Wayne Davison wrote: Given a better implementation of the --acls option (i.e. one that doesn't complain if a source disk doesn't support ACLs), that might make sense. Another thing to keep in mind, though, is that rsync always passes the individual options to the remote rsync, so adding

ACL and RSYNC and -a

2005-08-11 Thread Marc Perkel
Forgive me if this has already been asked but - shouldn't the '-a' switch include -X and -A for ACLs and extended attributes? I thought that -a means everything - so when everything grows -a should grow with it. -- To unsubscribe or change options:

Re: rsync seems to hang when --delete option is used.

2004-12-15 Thread Marc G. Fournier
to get a remote rsync to run under the strace/truss program). ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html Marc G. Fournier Hub.Org Networking Services (http

RE: --delete and --backup - Backup file gets deleted

2004-09-21 Thread Marc St-Onge
files and archives. This has made the --exclude option more complicated and perhaps I could have been crafty about my naming convention but it's a bit late for me to change my backup system so that's why I came up with the code change. I will send you the patch file separately later today. Marc

--delete and --backup - Backup file gets deleted

2004-09-20 Thread Marc St-Onge
to time. All in all, the 3 additional options add a mere 103 lines of new code and changes to 16 existing lines. The files modified are: options.c, backup.c, receiver.c and one declaration in proto.h. To the rsync team, if you would like to see the changes Ipropose please let me know. Marc

Rsync forwarding using Balance/Jumpgate hanging on large directories

2004-09-10 Thread Bachmeier, Marc
set of brains would help. Command used to send data from source server is: usr/local/bin/rsync -vptr /lab/data/vendor/ rsync://destination.host.attws.com/module1 Any suggestions appreciated Marc Marc Bachmeier Systems Engineer NSS Platform Engineering d) 425.702.3600 c) 206.618.3602 mailto

Simultaneous rsyncs?

2004-04-30 Thread Marc Sarrel
that the two rsyncs would be working on the same destination machine at the same time. If we don't need some sort of queue or interlock, then do we need to run a third rsync after the overlapping pair have finished to make sure that everything's OK? Thanks, Marc -- Spitzer Space Telescope

Re: Where is my bottleneck?

2004-03-11 Thread Marc Abel
time. These are 1 GHz machines, roughly, and they aren't getting slowed down. Marc Abel Powell, Ohio -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Where is my bottleneck?

2004-03-11 Thread Marc Abel
through a bunch of IP tuning stuff too and my buffers and features seem fine. I wonder what's missing here. Even if I get this working via rsh or direct-to-rsync-server, it's still reasonable to think it would work with ssh. Marc Abel Powell, Ohio -- To unsubscribe or change options: http

Re: mirror whole hard disk with rsync

2004-02-19 Thread Marc Perkel
Dick - that doesn't answer the man's question. mount the other drive say as /backup rsync -ax --delete --force / /backup/ I think that will do it. You might want to run a list of rsync commands on a list of directories if you are coppying a lot of files. I do the same thing where I back up

Re: mirror whole hard disk with rsync

2004-02-19 Thread Marc Perkel
Clint Byrum wrote: On Thu, 2004-02-19 at 07:48, Marc Perkel wrote: Dick - that doesn't answer the man's question. Its a valid question though (asking why not use RAID1 I mean). If we knew that, we could better serve his rsync question. Or he might not have realized that for things like

Re: Feature Request - Load Throttling

2004-02-18 Thread Marc Perkel
Paul Haas wrote: It's a real issue, and it isn't specific to rsync. You've got a webserver that runs well on your hardware, assuming reasonable disk caching and/or disk I/O rates. rsync comes along and reads lots of files, thus clearing your cache, and it walks the directory tree, doing

Re: Feature Request - Load Throttling

2004-02-18 Thread Marc Perkel
I also didn't know that was in there - but - I don't mind giving it the full bandwith as long as the load factor stays low. How about a --load switch to do the same thing based on load? Dick Streefland wrote: On Wednesday 2004-02-18 13:05, Edward Grace wrote: | How about using the --bwlimit

Feature Request - Load Throttling

2004-02-17 Thread Marc Perkel
If you aleady are doing this - then thanks. But here's a feature I'd like to see. Rsync often puts a lot of load on the system because of high disk access. I'd like to see rsync become load aware and to slow itself down under high load levels. Seems to me that it could be something fairly

Re: Feature Request - Load Throttling

2004-02-17 Thread Marc Perkel
- nice doesn't apply. jw schultz wrote: On Tue, Feb 17, 2004 at 03:16:32PM -0800, Marc Perkel wrote: This is what process and i/o schedulars are for. In most cases rsync is i/o bound. Either disk or network. That means it spends most of its time sleeping already. This becomes increasingly true

Re: Feature Request - Load Throttling

2004-02-17 Thread Marc Perkel
jw schultz wrote: On Tue, Feb 17, 2004 at 06:47:19PM -0800, Marc Perkel wrote: Actually - the problem is disk IO. And the disk IO is what makes the load levels go up. The load level is something that's readable can can be used to have rsync slow itself down. Nice doesn't do the trick. Nice

Orphaned rsync process on remote machine?

2003-12-22 Thread Marc Sarrel
conditions. See the GNU General Public Licence for details. Thanks, Marc -- Distributed Operations Coordinator | IO GDS System Engineer (Operations - Marc and Pam) | (Development - Marc) +1 818 393-7840 (voice) | +1 818 393-7786 (voice) +1 818 393-4669 (fax) | +1

Orphaned rsync process on remote machine?

2003-12-22 Thread Marc Sarrel
with the normal 90-second time out. What should a normal time out be? Is 90 seconds too long? Too short? Thanks, Marc All, Sometimes when I do an rsync, it times out and leaves on orphaned process on the remote machine. I am running rsync over ssh using public key authentication. I

doing an md5sum rsync?

2003-09-07 Thread Marc MERLIN
) Or is this possible already? Thanks, Marc -- A mouse is a device used to point at the xterm you want to type in - A.S.R. Microsoft is to operating systems security what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger

rsync on windows

2003-03-20 Thread Marc Cuypers
Hi, Sorry for asking this question. Is there an rsync version for windows? Marc -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

PATCH: don't leave core behind on distant machine

2002-12-14 Thread Marc Espie
I've noticed that rsync -e ssh network:some ^C would tend to leave cores behind on the distand machine. Turns out rsync was trying to log a final error message... which could not get written to stderr... which got detected by rwrite... which called exit_cleanup... which in turn tried to write to

rsync rsh XP-Unix Terminal Read cygwin

2002-10-02 Thread Pawlowsky, Marc
I can not get rsync to work when sending from my XP box to a Solaris,HPUX,or AIX host using rsh I am using the cygwin version of rsync, and the windows XP version of remsh. Can anybody tell me what is happening? Any hints on what to do next? Administrator@WOTTPAWLOWM-XP1

Request for an rsync-announce mailing list

2001-11-26 Thread Marc Stephenson
Howdy, It would be nice if there was a low-volume rsync-announce mailing list for announcements of new releases and security-related information. This would help casual users keep current on rsync without the relatively high volume generated on the rsync list. Just a suggestion. -- Marc

Any ETA for 2.4.7 ?

2001-11-04 Thread Marc Espie
I have been playing for some time with 2.4.7pre1. I assume some platforms still have problems with it. Is there actually going to be a 2.4.7 at some point in the foreseeable future ?

pipe character in file name

2001-05-01 Thread Marc Ochs
The command I'm using is: /usr/local/bin/rsync -a --stats --rsh=/usr/athena/bin/rsh --rsync-path=/usr/local/bin/rsync /content/vignette/cached-content mvcache@www2:/opt/StoryServer/ | /bin/mailx -s Title Resolve Rsync -c [EMAIL PROTECTED] Any suggestions anyone? TIA - Marc Marc Ochs Senior

Re: pipe character in file name

2001-05-01 Thread Marc Ochs
was deleted from the time the list was made to when the copy was started, or if it is an environment issue as it is normally run by cron. Thanks! - Marc Marc Ochs Senior Systems Engineer [EMAIL PROTECTED] (212) 522-9021