Re: Diff between using "-i" and not using "-i"

2024-06-05 Thread - via rsync
Hi, thanks for the information. Shall I file a bug report at https://github.com/RsyncProject/rsync/issues ? Yours lopiuh Am Mo., 3. Juni 2024 um 15:57 Uhr schrieb Paul Slootman via rsync : > > On Mon 03 Jun 2024, Kevin Korb via rsync wrote: > > > It appears that xattr change

Re: Is it possible to use rsync daemon running on 64-bit machine from a 32-bit machine?

2024-06-04 Thread Chris Green via rsync
Paul Slootman via rsync wrote: > On Sun 02 Jun 2024, Chris Green via rsync wrote: > > > I have an rsync daemon running on a 64-bit (x86_64) system which I > > successfully use for backups from several other 64-bit systems on my > > LAN. > > > > I want to

Re: Is it possible to use rsync daemon running on 64-bit machine from a 32-bit machine?

2024-06-04 Thread Paul Slootman via rsync
On Sun 02 Jun 2024, Chris Green via rsync wrote: > I have an rsync daemon running on a 64-bit (x86_64) system which I > successfully use for backups from several other 64-bit systems on my > LAN. > > I want to use it for backups from a BeagleBone Black (32-bit, armv7l) > but i

Is it possible to use rsync daemon running on 64-bit machine from a 32-bit machine?

2024-06-04 Thread Chris Green via rsync
I have an rsync daemon running on a 64-bit (x86_64) system which I successfully use for backups from several other 64-bit systems on my LAN. I want to use it for backups from a BeagleBone Black (32-bit, armv7l) but it fails as follows:- root@bbb:~# rsync -a /etc chris@backup::bbb

Re: Diff between using "-i" and not using "-i"

2024-06-03 Thread Paul Slootman via rsync
On Mon 03 Jun 2024, Kevin Korb via rsync wrote: > It appears that xattr changes (that is what the x mens) never made it into > the verbose output. I would call that a bug but I would rather it be fixed > by making -v include -i. I think -v only shows when file data is transferred

Re: Diff between using "-i" and not using "-i"

2024-06-03 Thread Kevin Korb via rsync
It appears that xattr changes (that is what the x mens) never made it into the verbose output. I would call that a bug but I would rather it be fixed by making -v include -i. On 6/3/24 05:22, - via rsync wrote: Hi, Version: sync version 3.3.0 protocol version 31 If I do a I get

Re: Diff between using "-i" and not using "-i"

2024-06-03 Thread - via rsync
;-i>: rsync -avhHXASDin --del /mnt/ /foo/mnt/ I get: = sending incremental file list .fx usr/bin/ping .d...a. var/log/journal/ sent 263,31K bytes received 1,14K bytes 528,90K bytes/sec total size is 294,92M speedup is 1.115,21 (DRY RUN)

Re: rsync whole file transfers extremely slow over SSH - but only in a particular virtual guest

2024-05-15 Thread Paul Slootman via rsync
On Wed 15 May 2024, Graham Leggett via rsync wrote: > > Then we check the disk underneath rsync: > > [root@arnie images]# dd if=/dev/urandom of=random.img count=1024 bs=10M > status=progress > 1604321280 bytes (1.6 GB, 1.5 GiB) copied, 16 s, 100 MB/s^C > 159+0 records i

rsync whole file transfers extremely slow over SSH - but only in a particular virtual guest

2024-05-15 Thread Graham Leggett via rsync
Hi all, I am trying to get to the bottom of a strange rsync performance problem. On a specific guest OS, and only on this guest OS, rsync is giving modem-like transfer speeds. This happens on delta transfers, and whole file transfers. [root@arnie ~]# rsync -avz --progress --sparse

Re: rsync as a de-duplication-only tool, using --link-dest

2024-05-01 Thread Kevin Korb via rsync
I don't believe that what you are asking for can be done with rsync. At first thought you can't mix --ignore-existing with --ignore-non-existing as that would ignore everything. Something would have to at least exist and not be ignored for rsync to link to it. Anyway, for a laugh, I asked

rsync as a de-duplication-only tool, using --link-dest

2024-05-01 Thread B via rsync
Recently I was thinking about --link-dest= and if it was possible to use rsync to de-duplicate two nearly-identical directory structures. Normally I would use a tool like hardlink, jdupes, or rdfind, but in this case the files are huge and numerous, so hashing them would take forever. I did

[SCM] The rsync repository. - branch master updated

2024-04-10 Thread Rsync CVS commit messages
-build.yml @@ -3,8 +3,14 @@ name: Test rsync on Cygwin on: push: branches: [ master ] +paths-ignore: + - '.github/workflows/*.yml' + - '!.github/workflows/cygwin-build.yml' pull_request: branches: [ master ] +paths-ignore: + - '.github/workflows/*.yml

[SCM] The rsync repository. - branch master updated

2024-04-10 Thread Rsync CVS commit messages
-cmarkgfm openssl -echo "/usr/local/bin" >>$GITHUB_PATH -- name: configure - run: ./configure --with-rrsync -- name: make - run: make -- name: install - run: sudo make install -- name: info - run: rsync --version -- name: check

[SCM] The rsync repository. - branch master updated

2024-04-10 Thread Rsync CVS commit messages
prep diff --git a/.github/workflows/freebsd-build.yml b/.github/workflows/freebsd-build.yml index 0fb5adb0..2c0061ee 100644 --- a/.github/workflows/freebsd-build.yml +++ b/.github/workflows/freebsd-build.yml @@ -12,7 +12,8 @@ jobs: name: Test rsync on FreeBSD steps: - uses: act

[SCM] The rsync repository. - branch master updated

2024-04-10 Thread Rsync CVS commit messages
ile | 2 +- packaging/pkglib.py | 11 --- packaging/pre-push | 16 packaging/release-rsync | 2 -- version.h

[SCM] The rsync repository. - branch master updated

2024-04-08 Thread Rsync CVS commit messages
. --- Summary of changes: NEWS.md | 15 +++ README.md| 8 +--- rsync.1.md | 3 +-- rsyncd.conf.5.md | 3 +-- version.h| 2 +- 5 files changed, 23 insertions(+), 8 deletions

[SCM] The rsync repository. - branch master updated

2024-04-08 Thread Rsync CVS commit messages
l bs=1M count=1024 -- zpool create -m `pwd`/testtmp zpool /tmp/zpool -- pkg install -y bash autotools m4 xxhash zstd liblz4 wget -- wget -O git-version.h https://gist.githubusercontent.com/WayneD/c11243fa374fc64d4e42f2855c8e3827/raw/rsync-git-version.h - configure_script: -- CPPFLAGS

RE: Rsync 3.3.0 released

2024-04-07 Thread Randall S. Becker via rsync
Hi Wayne, Just an FYI: RSync 3.3.0 built for HPE NonStop x86 and ia64 is now available on the ITUGLIB website (my team). We have supported that community and platform for many years. I am unsure how best to notify the RSync team about this. Regards, Randall From: rsync On Behalf

[SCM] The rsync repository. - branch master updated

2024-04-06 Thread Rsync CVS commit messages
ae3e13ba99d0d6c1727ca7930b0eab5f60122ae0 Author: Wayne Davison Date: Sat Apr 6 10:33:42 2024 -0700 Update github links. --- Summary of changes: README.md | 6 +++--- configure.ac| 2 +- rsync.1.md | 2

[rsync-announce] Rsync 3.3.0 released

2024-04-06 Thread Wayne Davison via rsync-announce
I have released rsync version 3.3.0. This is a bug fix release, with the increased version bump being a delayed reaction to some of the recent larger changes that have happened. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.3.0 You can

Rsync 3.3.0 released

2024-04-06 Thread Wayne Davison via rsync
I have released rsync version 3.3.0. This is a bug fix release, with the increased version bump being a delayed reaction to some of the recent larger changes that have happened. To see a summary of all the recent changes, visit this link: https://rsync.samba.org/ftp/rsync/NEWS#3.3.0 You can

[SCM] The rsync repository. - annotated tag v3.3.0 created

2024-04-06 Thread Rsync CVS commit messages
) --- -- The rsync repository. ___ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs

[SCM] The rsync repository. - branch master updated

2024-04-06 Thread Rsync CVS commit messages
+++ b/NEWS.md @@ -1,4 +1,4 @@ -# NEWS for rsync 3.3.0 (UNRELEASED) +# NEWS for rsync 3.3.0 (6 Apr 2024) ## Changes in this version: @@ -4762,7 +4762,7 @@ | RELEASE DATE | VER. | DATE OF COMMIT\* | PROTOCOL| |--||--|-| -| ?? May 2023

[SCM] The rsync repository. - branch master updated

2024-04-06 Thread Rsync CVS commit messages
its third parameter (size) is larger than the buffer: $ rsync -FFXHav '--filter=merge global-rsync-filter' Align-37-43/ xxx sending incremental file list *** buffer overflow detected ***: terminated It's in the exclude code in setup_merge_file(): strlcpy(y, save

[SCM] The rsync repository. - branch master updated

2024-04-05 Thread Rsync CVS commit messages
the daemon's output, which can assist with debugging. Note that the `early exec` command runs before any part of the transfer -- The rsync repository. ___ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo

[SCM] The rsync repository. - branch master updated

2024-04-04 Thread Rsync CVS commit messages
. --- Summary of changes: NEWS.md | 9 ++--- delete.c | 2 +- flist.c | 2 +- options.c| 2 ++ rsync.1.md | 3 ++- support/mnt-excl | 48 +--- util2.c | 2 +- 7 files changed, 42 insertions(+), 26

ACLs vanish while transferring files

2024-04-03 Thread Daniel Jordan via rsync
Hi all, I'm trying to transfer data from the old fileserver to the new cluster using rsync. Depending on how I define the source path either the folder acls are transfered or the file acls. This command preserves the file acls: # rsync -AavXz --numeric-ids --delete /winhome root

[Bug 2294] Detect renamed files and handle by renaming instead of delete/re-send

2024-04-02 Thread just subscribed for rsync-qa from bugzilla via rsync
purposes. rsync is used commonly to synchronise at the *file level* between very different operating systems -- from Linux to Windows, from macOS to Linux, etc. It also has multiple features to allow filtering and selecting files within the source and destination directories, thus only

Re: rsync segfaults when openssl fips is enabled

2024-03-19 Thread Shreenidhi Shedi via rsync
This happens with rsync-3.2.4, upgraded to v3.2.7 and this is solved. Thanks. -- Shedi On Tue, Mar 12, 2024 at 3:05 PM Shreenidhi Shedi < shreenidhi.sh...@broadcom.com> wrote: > Hi All, > > Any inputs on this issue? > > -- > Shedi > > > On Wed, Feb 21,

[PATCH] add option to skip files based on age/mtime

2024-03-17 Thread J Raynor via rsync
I've added the options --min-age=SECONDS and --max-age=SECONDS to allow rsync to skip files based on how recently they were modified. Setting --min-age=30 (for example) would cause rsync to skip files that had been modified within the last 30 seconds. Setting --max-age=7776000 would cause

Re: rsync Digest, Vol 255, Issue 2

2024-03-12 Thread brent kimberley via rsync
Shedi I suggest upgrading rsync to a modern hash. For example, Blake3. On Tue, Mar 12, 2024, 8:00 a.m. wrote: > Send rsync mailing list submissions to > rsync@lists.samba.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sa

Re: rsync segfaults when openssl fips is enabled

2024-03-12 Thread Shreenidhi Shedi via rsync
ve xattr values which are > > 32 bytes. > > https://github.com/WayneD/rsync/issues/569 > > Hi All, > > System details: > > root@ph3dev [ ~ ]# rsync --version > rsync version 3.2.4 protocol version 31 > Capabilities: > 64-bit files, 64-bit inums, 64-b

[Bug 6741] 'deleting' messages show up in improper places

2024-02-29 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=6741 --- Comment #5 from Marc Aurèle La France --- Created attachment 18263 --> https://bugzilla.samba.org/attachment.cgi?id=18263=edit rsync stdout filter Just something I've come up with to work around this issue. Not perfect but does the

rsync segfaults when openssl fips is enabled

2024-02-21 Thread Shreenidhi Shedi via rsync
Hi All, Copying the content from the GH issue as is. Need your inputs on the same. FWIW, the coredump files generated in linux have xattr values which are > 32 bytes. https://github.com/WayneD/rsync/issues/569 Hi All, System details: root@ph3dev [ ~ ]# rsync --version rsync version 3.

[Bug 15585] New: rsync ends still with error 22 when try to deleting many files

2024-02-16 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=15585 Bug ID: 15585 Summary: rsync ends still with error 22 when try to deleting many files Product: rsync Version: 3.2.0 Hardware: All OS: All Status

tests for clone-dest

2024-02-14 Thread Joseph Maher via rsync
WayneD's clone-dest patch seems to be working for me, it's available here: https://github.com/WayneD/rsync-patches/blob/master/clone-dest.diff I've written some very basic tests, which I've attached to this email, in case they are of use to anyone else. They're also available here: https

Re: rsync replacing symlinks without warning (resend)

2024-02-09 Thread Kevin Korb via rsync
I'm not really blaming the user. If it were up to me, -v would include -i. On 2/9/24 05:36, Andreas Gruenbacher wrote: On Sun, Feb 4, 2024 at 7:20 PM Kevin Korb via rsync wrote: rsync's -v is fairly useless. Learn to use -i instead or in addition to. Well, note that I didn't say anything

Re: rsync replacing symlinks without warning (resend)

2024-02-09 Thread Andreas Gruenbacher via rsync
On Sun, Feb 4, 2024 at 7:20 PM Kevin Korb via rsync wrote: > rsync's -v is fairly useless. Learn to use -i instead or in addition to. Well, note that I didn't say anything about the lib/ directory in that command; it's just that rsync decided to remove the symlink component from the path

[Bug 2294] Detect renamed files and handle by renaming instead of delete/re-send

2024-02-09 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=2294 --- Comment #39 from andy --- > This feature request is so old it has lost relavence because btrfs/zfs/etc > are more optimal backup solutions than rsync. Funny I am doing exactly this, but I came to rsync looking for a backup for when ZFS

Re: BUG? rsync ends without message by delete files

2024-02-07 Thread Kevin Korb via rsync
now it sounds like you have too many hard links for rsync to handle. On 2/7/24 08:05, Franke via rsync wrote: Am 06.02.24 um 23:20 schrieb Roland: and then, it stops totally quiet. you mean it simply exits without any message? Yes rsync ends totally quit. what's the return code ( echo

Re: BUG? rsync ends without message by delete files

2024-02-06 Thread Roland via rsync
here is another report of this behaviour. https://unix.stackexchange.com/questions/754923/rsync-just-stops nothing appropriate in bugzilla, besides https://bugzilla.samba.org/show_bug.cgi?id=13317 do you use zfs or is there full-space/quota condition while running? if you can't resolve, please

Re: BUG? rsync ends without message by delete files

2024-02-06 Thread Roland via rsync
and then, it stops totally quiet. you mean it simply exits without any message? what's the return code ( echo $? ) roland Am 06.02.24 um 22:18 schrieb Franke via rsync: Hi Kevin, Am 06.02.24 um 20:55 schrieb Kevin Korb: The other likely cause is your $SOURCE being something that contains

Re: BUG? rsync ends without message by delete files

2024-02-06 Thread Kevin Korb via rsync
Normally, when rsync isn't deleting things the problem is that there is some kind of error (possibly scrolled off screen unnoticed) but it sounds like you are getting no output at all which would eliminate that possibility. The other likely cause is your $SOURCE being something that contains

Re: rsync replacing symlinks without warning (resend)

2024-02-04 Thread Kevin Korb via rsync
rsync's -v is fairly useless. Learn to use -i instead or in addition to. On 2/4/24 12:58, Andreas Gruenbacher via rsync wrote: Hello, when trying to rsync files between hosts, I ran into a surprising case in which rsync replaces a symlink with a directory, with no indication of any kind

rsync replacing symlinks without warning (resend)

2024-02-04 Thread Andreas Gruenbacher via rsync
Hello, when trying to rsync files between hosts, I ran into a surprising case in which rsync replaces a symlink with a directory, with no indication of any kind. In the following reproducer, rsync is called as follows: rsync --verbose --recursive --relative --delete a/./lib/modules b

Release the fix for the argv use-after-free issue with popt 1.19?

2024-02-02 Thread Matt McCutchen via rsync
I'm using Fedora 38's rsync-3.2.7-2.fc38.x86_64 package, and the other day, I noticed that one of my backup scripts was creating directories with garbage names. Eventually I tracked the problem down to the argv use-after-free issue with popt 1.19 that was fixed in commit

Re: Archiving to vfat

2024-01-27 Thread Ian Z via rsync
--modify-window was it, thanks very much. Works flawlessly now. Thanks also for the s,a,rt, tip. -- Ian -- 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

Re: Archiving to vfat

2024-01-21 Thread Kevin Korb via rsync
Also, instead of -a use -rt. Those are the only parts of -a that FAT even pretends to support. On 1/21/24 16:42, Roland via rsync wrote: it's most likely because of vfat timestamp limitation try --modify-window   When comparing two timestamps, rsync treats the timestamps

Re: Archiving to vfat

2024-01-21 Thread Roland via rsync
it's most likely because of vfat timestamp limitation try --modify-window   When comparing two timestamps, rsync treats the timestamps as being equal if they differ by no more than  the modify-window   value.   This  is  normally  0 (for an exact match), but you may find

Archiving to vfat

2024-01-21 Thread Ian Z via rsync
I am trying to use rsync between two local directories on Linux. The source directory is on a normal ext4 partition, under my home directory. The destination is an SD card that I insert into the card reader on the computer, formatted with a vfat filesystem. The command line is like rsync -avC

Re: Everything working as expected, so shouldn't ERROR be WARNING

2024-01-18 Thread Roger Price via rsync
On Thu, 18 Jan 2024, Paul Slootman via rsync wrote: On Thu 18 Jan 2024, Roger Price via rsync wrote: I get the messages sending incremental file list ERROR: daemon refused to receive file "rprice/demo.dvi" I understand that the remote daemon has refused file demo.dvi because I sp

Re: Everything working as expected, so shouldn't ERROR be WARNING

2024-01-18 Thread Paul Slootman via rsync
On Thu 18 Jan 2024, Roger Price via rsync wrote: > I am backing up a user's directories from local machine titan to remote > machine maria. On the remote machine maria file /etc/rsyncd.conf contains > > [rprice-home] > ... > exclude = *.dvi > > I start the back

Everything working as expected, so shouldn't ERROR be WARNING

2024-01-18 Thread Roger Price via rsync
I am backing up a user's directories from local machine titan to remote machine maria. On the remote machine maria file /etc/rsyncd.conf contains [rprice-home] ... exclude = *.dvi I start the backup by using this command on the local machine titan: rprice@titan ~ rsync -av --dry-run /mnt

[PATCH] Fix INET6 detection on recent clang

2024-01-07 Thread Chris Webb via rsync
with -4 which works fine except when there is only v6 connectivity between a pair of hosts, whereupon ssh between them works but rsync unexpectedly fails with 'Name has no usable address'. Signed-off-by: Chris Webb --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: process --files-from filelist as given

2023-12-31 Thread Francis.Montagnac--- via rsync
Hi. On Sun, 31 Dec 2023 20:28:21 +0100 Roland via rsync wrote: > apparently, rsync sorts the list of files  provided to "--files-from". > how can i avoid sorting of that list ? According to the man, this is not possible. See: SORTED TRANSFER ORDER that suggest also the --dela

[Bug 15546] New: disable of sorting when files to transfer is fed via --files-from

2023-12-31 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=15546 Bug ID: 15546 Summary: disable of sorting when files to transfer is fed via --files-from Product: rsync Version: 3.2.0 Hardware: All OS: All

Re: process --files-from filelist as given

2023-12-31 Thread Roland via rsync
to bugzilla thanks roland Am 31.12.23 um 20:56 schrieb francis.montag...@inria.fr: Hi. On Sun, 31 Dec 2023 20:28:21 +0100 Roland via rsync wrote: apparently, rsync sorts the list of files  provided to "--files-from". how can i avoid sorting of that list ? According

process --files-from filelist as given

2023-12-31 Thread Roland via rsync
hello, apparently,  rsync sorts the list of files  provided to "--files-from". how can i avoid sorting of that list ? I want to copy a list of files in specific order regards Roland -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe

Re: rsync over ssh fails with --files-from

2023-12-21 Thread Alex via rsync
creenshot. errs was definitely the one I referenced, and it was increasing. As it turns out, there was some kind of network configuration issue with my network provider that caused this fscking problem. I knew at some point it couldn't have been an rsync problem, but I also wasn't sure if it was

Re: rsync over ssh fails with --files-from

2023-12-21 Thread Kevin Korb via rsync
l.com>> wrote: Hi, On Wed, Dec 20, 2023 at 11:03 AM Kevin Korb via rsync mailto:rsync@lists.samba.org>> wrote: What is the error?  I assume you know that with that syntax the filelist.txt is local rather than remote. Yes, I do know i

Re: rsync over ssh fails with --files-from

2023-12-21 Thread Alex via rsync
M Alex wrote: > Hi, > > On Wed, Dec 20, 2023 at 11:03 AM Kevin Korb via rsync < > rsync@lists.samba.org> wrote: > >> What is the error? I assume you know that with that syntax the >> filelist.txt is local rather than remote. >> > > Yes, I do know it refers

Re: rsync over ssh fails with --files-from

2023-12-20 Thread Alex via rsync
Hi, On Wed, Dec 20, 2023 at 11:03 AM Kevin Korb via rsync wrote: > What is the error? I assume you know that with that syntax the > filelist.txt is local rather than remote. > Yes, I do know it refers to the list of local files. There is no error - it just hangs indefinitely u

Re: rsync over ssh fails with --files-from

2023-12-20 Thread Kevin Korb via rsync
What is the error? I assume you know that with that syntax the filelist.txt is local rather than remote. On 12/20/23 09:50, Alex via rsync wrote: Hi, I've been using rsync on fedora over ssh to sync directories for decades, but suddenly having a problem with transferring multiple files

rsync over ssh fails with --files-from

2023-12-20 Thread Alex via rsync
Hi, I've been using rsync on fedora over ssh to sync directories for decades, but suddenly having a problem with transferring multiple files at a time to one specific host using --files-from. I can't think of what might have changed to have caused this. Using rsync to transfer a single file

rsync error messages always in English (= never translated)?

2023-12-15 Thread rsync--- via rsync
I want to recognize and handle some rsync error messages in my log files (containing also the --itemize-changes output) on different computers with different language/locale settings. Can I rely on rsync to create only English error messages to have a stable pattern to recognize? PS

Re: rsync exit code 23 (partial transfer due to errors): List of possible reasons and how to ignore some?

2023-12-14 Thread Kevin Korb via rsync
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Unfortunately, exit 23 litterally just means something else went wrong and might have scrolled off of the screen if you have rsync listing files (--verbose or --itemize_changes). Essentially, it is anything that doesn't have its own exit code. I

Re: rsync exit code 23 (partial transfer due to errors): List of possible reasons and how to ignore some?

2023-12-14 Thread rsync--- via rsync
On Thu, 2023-12-14 at 14:09 -0500, Kevin Korb wrote: > Unfortunately, exit 23 litterally just means something else went wrong > and might have scrolled off of the screen if you have rsync listing > files (--verbose or --itemize_changes). Essentially, it is anything > that doesn't

rsync exit code 23 (partial transfer due to errors): List of possible reasons and how to ignore some?

2023-12-14 Thread rsync--- via rsync
I am trying to find a solution for the open source Linux software "Back In Time" (https://github.com/bit-team/backintime) where we evaluate the rsync exit code when taking a backup via rsync and inform the user that an error has occured. Questions: 1. Is there full list of possib

Re: rsync checksum inquiry

2023-11-05 Thread brent kimberley via rsync
For example, is there any reason why rsync doesn't support blake2b( on 64b engines ) and blake2s ( on "tiny" engines )? On Sun, Oct 29, 2023, 5:49 p.m. brent kimberley wrote: > Hi. > What is the process for deciding what types of checksums can be included > with rsyn

Re: rsync checksum inquiry

2023-11-01 Thread brent kimberley via rsync
What is the process for deciding what types of checksums can be included with rsync? > -- 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/f

Re: rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?

2023-09-22 Thread rsync--- via rsync
Here is the missing attachment ;-) On Fri, 2023-09-22 at 21:01 +0200, rsync--- via rsync wrote: > On Fri, 2023-09-22 at 07:37 -0400, Kevin Korb wrote: > > So I decided to do a quick test using the Linux kernel source tree since > > it has lots of files. > > Excellent idea

Re: rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?

2023-09-22 Thread rsync--- via rsync
narios... >   I duplicated a tree, used 'find . -type f -exec > chmod 444 {} +' to make read only files for rsync to want to chmod, then > used cp -al to make several duplicate trees using hard linked files. > [...] > But also, I did not experience the problem you are describing.  My su

Re: rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?

2023-09-22 Thread Paul Slootman via rsync
On Fri 22 Sep 2023, Kevin Korb via rsync wrote: > 444 {} +' to make read only files for rsync to want to chmod, then used cp > -al to make several duplicate trees using hard linked files. An rm -rf on > one such tree took .97 seconds while an rsync deletion took 1.25 seconds. Be sur

Re: rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?

2023-09-22 Thread Kevin Korb via rsync
So I decided to do a quick test using the Linux kernel source tree since it has lots of files. I duplicated a tree, used 'find . -type f -exec chmod 444 {} +' to make read only files for rsync to want to chmod, then used cp -al to make several duplicate trees using hard linked files. An rm

Re: rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?

2023-09-22 Thread rsync--- via rsync
On Thu, 2023-09-21 at 20:08 -0400, Kevin Korb via rsync wrote: > I have heard in the past that rsyncing an empty dir over a tree to > delete the tree is faster than an rm -rf but I can't say I have ever > benchmarked it to get any actual numbers. This **may** indeed be a myth (for a

Re: rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?

2023-09-21 Thread Kevin Korb via rsync
that rsync actually adds a bunch of pointless chmods to the process. Is it still faster given this problem? If so maybe we should be trying to investigate why rm is so slow. Otherwise, I would agree that an optimization to not do a bunch of pointless chmods is a good idea. I would suspect

[Bug 12806] Deleting in a row of hardlinked snapshots resets file permissions.

2023-09-21 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=12806 --- Comment #7 from Aryo Da --- I think this a severe bug for all backup use cases of rsync that take a full snapshot with permissions (--perms) by creating hardlinks to unchanged files + copies of changed files (--link-dest): -> Whenever an

[Bug 12806] Deleting in a row of hardlinked snapshots resets file permissions.

2023-09-21 Thread just subscribed for rsync-qa from bugzilla via rsync
e... -- You are receiving this mail because: You are the QA Contact for the bug. -- 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

rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?

2023-09-18 Thread rsync--- via rsync
Context --- I am one of the active developers of the open source application "Back in Time" which uses "rsync" as backend and I want to fix an open issue: "Back in Time"-Bug: https://github.com/bit-team/backintime/issues/994#issuecomment-1724211507 &q

Re: Feature Concept: enable iCloud Drive with rsync

2023-09-12 Thread Kevin Korb via rsync
Is this being accessed via a fuse mount? If so it seems like that is where this kind of feature should be implemented (like a mount option to decide how to handle such files). Rsync shouldn't need special features to deal with every kind of file storage. On 9/12/23 05:22, Brian &quo

Feature Concept: enable iCloud Drive with rsync

2023-09-12 Thread Brian "bex" Exelbierd via rsync
Hi, I have also posted this on GitHub but it isn’t clear that was the right place: https://github.com/WayneD/rsync/issues/522 iCloud Drive will evict files that are unused or when additional space is needed on the local drive. The evicted files are replace by "bookmark" files that a

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

2023-09-08 Thread Hardy via rsync
Am 06.09.23 um 08:49 schrieb Paul Slootman via rsync: The current version is 3.2.7, especially 2.6.8 is quite ancient. You may want to upgrade before going bug hunting, chances are your problem has already been fixed. Oh yes, exactly the step to 3.* did a lot both to option and PERFORMANCE

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

2023-09-06 Thread Paul Slootman via rsync
On Sun 03 Sep 2023, Perry Hutchison via rsync wrote: > On the source system: > > $ rsync --version > rsync version 2.6.8 protocol version 29 > On the destination system: > $ rsync --version > rsync version 3.0.7 protocol version 30 The current version is 3.2.7, espe

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

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

2023-09-04 Thread Kevin Korb via rsync
, 3 Sep 2023, Perry Hutchison via rsync wrote: Date: Sun, 03 Sep 2023 00:35:29 -0700 From: Perry Hutchison via rsync To: rsync@lists.samba.org Subject: Why try to update (some) permissions which are the same? On the source system: $ rsync --version rsync version 2.6.8 protocol version 29

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. <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, ACLs, symlinks, batchfiles, inplace, IPv6

sync based on filename

2023-08-21 Thread Fourhundred Thecat via rsync
i have this: if /SRC/1980-01-01 has newer modification time than /DST/2023-08-21, then rsync -r --delete /SRC /DST will overwrirte 2023-08-21 with 1980-01-01. which is not what I want. I only need to overwrite if source is "newer" in sense of "date filename" is this

Re: print only first level directory name when copying files

2023-08-04 Thread Kevin Korb via rsync
find /mnt/foo/* -maxdepth 0 -print -exec rsync -an `realpath {}` /mnt/bar/ \; (realpath eliminates the trailing slashes) On 8/3/23 22:27, Fourhundred Thecat via rsync wrote: Hello, I am copying /mnt/foo to /mnt/bar/   rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/ /mnt/foo contains deep

Re: print only first level directory name when copying files

2023-08-04 Thread Fourhundred Thecat via rsync
> On 2023-08-04 06:13, Perry Hutchison wrote: Perry Hutchison via rsync wrote: On second thought, that grep will match any directory name having 3 *or more* levels. This: rsync --info=name1,del2 -rl /mnt/foo /mnt/bar/ | egrep '^/[^/]*/[^/]*/[^/]*/$' should match only those with exac

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/ >

print only first level directory name when copying files

2023-08-03 Thread Fourhundred Thecat via rsync
Hello, 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 /mnt/foo/bbb/ /mnt/foo/bbb/someotherstuff/ /mnt/foo/bbb/someotherstuff

Consider POSIX_FADV_NOREUSE?

2023-08-03 Thread Ronan Pigott via rsync
Hey rsync, Seems like there was an effort a while back to make use of POSIX_FADV_DONTNEED on linux [1]. Though the linux patches landed, apparently the rsync ones never did. Over a decade later we live in a different world. Linux is using the new-ish MGLRU on many distros, and (~6.3+) even has

Re: How to tune rsync to speed up?

2023-08-02 Thread Kevin Korb via rsync
NFS is slowing things down even more than your bandwidth measurements as it is also forcing --whole-file. On 8/2/23 05:03, Perry Hutchison via rsync wrote: Sebastian G??decke via rsync wrote: We're facing some flapping traffic when rsyncing atm 70T from one server to an DELL Isilon. Both

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 usi

How to tune rsync to speed up?

2023-08-02 Thread Sebastian Gödecke via rsync
Hi there, 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. So it runs with around 3Gbit for some seconds, th

Interaction between hosts allow and hosts deny

2023-07-27 Thread Roger Price via rsync
er -- 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

[Bug 7809] I/O errors other than IOERR_GENERAL should not suppress deletion

2023-07-26 Thread just subscribed for rsync-qa from bugzilla via rsync
https://bugzilla.samba.org/show_bug.cgi?id=7809 --- Comment #6 from Jeffrey Simon --- 3. The script does not work from launchd running as root. I should have given the failure mode, which is the following: rsync: opendir "/Volumes/Backup1/." failed: Operation not permitted (1) r

[Bug 7809] I/O errors other than IOERR_GENERAL should not suppress deletion

2023-07-26 Thread just subscribed for rsync-qa from bugzilla via rsync
because I no longer get an issue with with excludes. After I added sudo, those errors no longer occur. However, I am still having a problem, as follows: 1. The plain rsync command (with sudo and excludes) works from the command line. 2. The same rsync command (with sudo and excludes) wor

[Bug 7809] I/O errors other than IOERR_GENERAL should not suppress deletion

2023-07-20 Thread just subscribed for rsync-qa from bugzilla via rsync
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

  1   2   3   4   5   6   7   8   9   10   >