Re: Why try to update (some) permissions which are the same?

2023-09-05 Thread Perry Hutchison via rsync
Kevin Korb wrote: > On Sun, 3 Sep 2023, Perry Hutchison via rsync wrote: > > On the source system: > > ... > > $ ll -d fcst-200[89] fcst-201[01] > > dr-xr-xr-x 2 perryh perryh 7168 Nov 27 2009 fcst-2008 > > dr-xr-xr-x 2 perryh perryh 9216 Jul 21 2010 f

Why try to update (some) permissions which are the same?

2023-09-03 Thread Perry Hutchison via rsync
On the source system: $ rsync --version rsync version 2.6.8 protocol version 29 Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others. Capabilities: 64-bit files, socketpairs, hard links, ACLs, symlinks, batchfiles, inplace, IPv6, file

Re: print only first level directory name when copying files

2023-08-03 Thread Perry Hutchison via rsync
Perry Hutchison via rsync wrote: > Fourhundred Thecat via rsync <400the...@lists.samba.org> wrote: > > > I am copying /mnt/foo to /mnt/bar/ > > > >rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/ > > > > /mnt/foo contains deep directory structure, ie

Re: print only first level directory name when copying files

2023-08-03 Thread Perry Hutchison via rsync
Fourhundred Thecat via rsync <400the...@lists.samba.org> wrote: > I am copying /mnt/foo to /mnt/bar/ > >rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/ > > /mnt/foo contains deep directory structure, ie: > >/mnt/foo/aaa/ >/mnt/foo/aaa/somestuff/ >/mnt/foo/aaa/somestuff/file1 > >

Re: How to tune rsync to speed up?

2023-08-02 Thread Perry Hutchison via rsync
Sebastian G??decke via rsync wrote: > We're facing some flapping traffic when rsyncing atm 70T from > one server to an DELL Isilon. > Both systems are connected with 10G Fiber (not Channel). > So we started with one simple "rsync -a /src /dest" to the DELL > by using NFS3. > ... > I always

Re: Rsync sends again already existing files

2023-06-30 Thread Perry Hutchison via rsync
Stephane Ascoet via rsync wrote: > Kevin Korb le 29/06/2023 22:43: > > Are you so sure rsync actually copies the file? It should > > correct the timestamp and tell you it did. > > Of that what it should do! But I'm sure not: the target is a very > low-quality-and-performance USB key ... less

Re: What could cause rsync to kill ssh?

2023-06-03 Thread Perry Hutchison via rsync
Maurice R Volaski wrote: > Rsync 3.2.7 is running on the Gentoo computer, which doesn't have > a version, other than it's "current". I'm running the script from > this computer. > > Rsync 3.1.2 is on the source computer, where the files come from, > which is Ubuntu 18.0.4.6. > > I'm copying to a

Re: What could cause rsync to kill ssh?

2023-06-02 Thread Perry Hutchison via rsync
Maurice R Volaski via rsync wrote: > I have an rsync script that it is copying one computer (over ssh) > to a shared CIFS mount on Gentoo Linux, kernel 6.3.4. The script > runs for a while and then at some point quits knocking my ssh > session offline on all terminals and it blocks ssh from

Re: Trying to diagnose incomplete file transfer

2023-03-04 Thread Perry Hutchison via rsync
Albert Croft via rsync wrote: > ... I am currently using the 'split' command to break the files > into 1-GB "chunks" (ex.: foo.tgz.aa, foo.tgz.ab, ...). > ... > I am frequently encountering times where the file appears to > have been transferred but is incomplete. (Example: foo.tgz.ab > now

Re: Multiple paths in a module?

2022-03-05 Thread Perry Hutchison via rsync
Glen Huang via rsync wrote: > ... the mounting paths are dynamically configured in another > service, so I need to remount whenever the paths change > if I mount them beforehand. Could the remount be done in that other service? > With the "early exec" hook, I can avoid such remounting, > but

Re: Workaround for rsyncing when fileflag schg is set?

2021-10-31 Thread Perry Hutchison via rsync
That sort of snafu is why find(1) has the -depth directive. Does rsync have anything similar? Kevin Korb via rsync wrote: > There maybe a proper solution but an obvious workaround would be to run > rsync twice. The first time without the --fileflags option. > > --no-perms wouldn't help. That

Re: Rsync 3.2.3 released

2020-08-10 Thread Perry Hutchison via rsync
Rupert Gallagher wrote: > ... I see this ball bounched betwen rsync, openbsd and supermicro > ... I see a large cache delivered by the OS on server hardware and > a program unable to use it. It sounds as if the problem may be OpenBSD "delivering" the cache rather than "utilizing" it. What does

Re: Rsync 3.2.3 released

2020-08-08 Thread Perry Hutchison via rsync
Rupert Gallagher via rsync wrote: > On 7 Aug 2020, 23:44, Wayne Davison < wa...@opencoder.net> wrote: > > >> Also, I have 12GB of cache in ecc ram that rsync is not using. > > >It uses whatever memory it needs plus whatever filesystem caching > >your OS provides. > > Hmmm... bad day today... > >

Re: sync of ordinary files from lvm snapshot fails with --sparse, 3.2.2pre2

2020-07-06 Thread Perry Hutchison via rsync
Scott Mcdermott via rsync wrote: > Getting some puzzling errors doing the following backup procedure > on a root filesystem that's on LVM, when using sparse flag: > > lvcreate --snapshot --name baksnap --size 3G /dev/vg0/root > mount -o ro /dev/vg0/baksnap /var/tmp/snapmnt > rsync -izaHx \ >

Re: High memory usage - any way around it other than splitting jobs?

2020-06-25 Thread Perry Hutchison via rsync
Andy Smith via rsync wrote: > I have a virtual machine with 2G of memory. On this VM there is a > directory tree with 33.3 million files in it. When attempting to > rsync (rsync -PSHav --delete /source /dest) this tree from one > directory to another on the same host, rsync uses all the memory

Re: High memory usage - any way around it other than splitting jobs?

2020-06-25 Thread Perry Hutchison via rsync
Kevin Korb via rsync wrote: > Unfortunately the hard links are the problem. In order to keep > them straight rsync has to remember the details of every file it > finds with a link count >1 making it grow and grow. I _hope_ it is only remembering the source and destination inode numbers, and

Re: osx permission issue

2020-03-28 Thread Perry Hutchison via rsync
Roland via rsync wrote: > does somebody know how to circumvent that "extra file access restriction > feature" introduced in osx some time ago ? It may not be possible. Based on experience with FreeBSD, from which much of OSX is derived, I suspect you may be running into issues with "file

Re: [Bug 13901] New: Empty quotes adds cwd to SRC directories

2019-04-17 Thread Perry Hutchison via rsync
Joe via rsync wrote: > I brought this up on the list years ago and was told it's a feature, > not a bug. That is a really lame excuse. http://qph.fs.quoracdn.net/main-qimg-6349815aff502d70e502e228f07d8cd4 > Even if some other GNU or Linux commands have this "feature", it still > violates the

Re: rsync client for Chrome OS?

2019-01-07 Thread Perry Hutchison via rsync
Uxio Prego wrote: > Hi, hey android allows execution of _legacy_ static > binary programs, via unpacking of binary as asset, > then chmod ing it properly and finally running it > through a system call [from e.g. the Java userland > of a vanilla android application package]. > > I doubt that

Re: rsync client for Chrome OS?

2019-01-07 Thread Perry Hutchison via rsync
Parke wrote: > On Sat, Jan 5, 2019 at 9:54 PM Perry Hutchison via rsync > wrote: > > ... I'm wondering if anyone here > > knows of an implementation of rsync client for Chrome OS in normal > > (not developer) mode, i.e. as an app or extension. > > Have you tr

rsync client for Chrome OS?

2019-01-05 Thread Perry Hutchison via rsync
Having found no mention of Google's Chrome OS in the rsync archives, nor any useful* pointers via Google, I'm wondering if anyone here knows of an implementation of rsync client for Chrome OS in normal (not developer) mode, i.e. as an app or extension. * It seems that rsync is available in "test"

Re: Rsync between 2 datacenters not working

2018-03-30 Thread Perry Hutchison via rsync
Marc Roos via rsync wrote: > Hmmm, looks indeed like changing the mtu helps, strange thing is that > with the bigger mtu sometimes I had no problems and often TB are copied > without problems. > Problem is I can't test the connection that much because the connection >

Re: Help - rsync runs from command line, fails from task scheduler, hangs at msg checking charset: UTF-8

2017-07-30 Thread Perry Hutchison via rsync
leonv12 via rsync wrote: > I don't get why it runs from the command line but not from a scheduled > task. Any suggestions for a fix or a work-around? Check the environment settings, which are often the cause of differences in behavior between running from the command

Re: RFE to allow dry-run against read only target

2016-07-09 Thread Perry Hutchison
Paul Slootman wrote: > On Fri 01 Jul 2016, Stuart Anderson wrote: > > I would like to request that rsync -n to an rsync server target that > > is read only be supported rather than generating the following error, > > ERROR: module is read only > > ... > Of course, one could

Re: rsync keeps writing files over

2016-06-03 Thread Perry Hutchison
"McDowell, Blake" wrote: > The storage is just an regular HDD in a mac pro tower. I can't > imagine why it wouldn't handle timestamps. Also of note - this > problem doesn't exist for every file, just the vast majority. > So, that just makes it more confusing. The filesystem

Re: rsync with overlay tree

2016-03-31 Thread Perry Hutchison
tomr wrote: > Almost all of the config of someapp has remained unchanged > in the latest major release. Distributing config files really sounds more like a job for sysutils/puppet than for rsync :) Teach facter to return the version of someapp that's installed and you don't

Re: Verifying backups

2015-10-01 Thread Perry Hutchison
"Ronald F. Guilmette" wrote: > P.S. I really do hope that I can get this to work with rsync. > I do prefer not reinventing the wheel, but it is starting to seem > simpler to me if I were to just write a Perl script that would > walk two directory hierarchies, in

Re: Backup scripts - recycling old backup directories (Kevin Korb)

2014-09-16 Thread Perry Hutchison
Robert Bell robert.b...@csiro.au wrote: 2. Metadata history. If there is an existing file in the target dir that differs only by metadata (permissions, ownership, timestamp) then rsync will simply change that metadata. That change affects all instances of that file. Of course this is

Re: SIGHUP signal

2014-02-15 Thread Perry Hutchison
Hiroyuki Ikegami ike...@mixallow.net wrote: 2014-02-15 7:39 GMT+09:00 Grozdan neutri...@gmail.com: Yesterday, I changed my rsyncd.conf file to add one more module to it. Then I sent a kill -HUP $pid signal to rsync running in daemon mode, but what gives? It just died so I had to start it up

Re: SIGHUP signal

2014-02-15 Thread Perry Hutchison
Paul Slootman paul+rs...@wurtel.net wrote: On Sat 15 Feb 2014, Perry Hutchison wrote: Hiroyuki Ikegami ike...@mixallow.net wrote: 2014-02-15 7:39 GMT+09:00 Grozdan neutri...@gmail.com: Yesterday, I changed my rsyncd.conf file to add one more module to it. Then I sent a kill -HUP

Re: --itemize-changes not recursive (not printing created files inside created directories)

2013-12-19 Thread Perry Hutchison
Paul Slootman paul+rs...@wurtel.net wrote: On Wed 18 Dec 2013, Kevin Korb wrote: Also, rsync's -c is rather dumb as it computes checksums for files that have different sizes so they can't possibly be the same and it computes checksums for files that only exist on one end and therefore

Making --inplace and --sparse compatible

2013-12-10 Thread Perry Hutchison
It seems to me that it should be possible to make --inplace and --sparse compatible. The manpage says -S, --sparse ... Conflicts with --inplace because it's not possible to overwrite data in a sparse fashion. but I think it _is_ possible to do that, provided the