Re: syncing huge files/devices: bmapfs

2023-03-09 Thread Heiko Schlittermann via rsync
Roland via rsync (Sa 11 Feb 2023 20:04:18 CET): > do you have performance comparison vs. plain fail on the same hardware > setup ? I digged a bit more, and the performance issue seems to be due to setup on the receiver's side: btrfs on LVM on dm-crypt on md-raid5 So my bmapfs doesn't solve any p

Re: prevent filter excluded files from being deleted

2023-03-07 Thread Heiko Schlittermann via rsync
Robin Lee Powell via rsync (Di 07 Mär 2023 16:20:39 CET): > First of all, I disagree that rsync handles very large files badly, > but that's not super relevant. :) Consdier --partial for large > files. I'm using --inplace (because the receiving side does snapshots of the underlying file system)

Re: prevent filter excluded files from being deleted

2023-03-07 Thread Heiko Schlittermann via rsync
Hello Kevin, Kevin Korb via rsync (Di 07 Mär 2023 00:01:27 CET): > I am not 100% sure I am interpreting this correctly but I think you are > complaining that the file was being deleted in the first command? If so, > instead of -F try --include='*/' --exclude='*'. Otherwise, maybe you want a > s

Re: prevent filter excluded files from being deleted

2023-03-07 Thread Heiko Schlittermann via rsync
Robin Lee Powell via rsync (Di 07 Mär 2023 07:07:01 CET): > Read the "PER-DIRECTORY RULES AND DELETE" of the man page. (And > don't feel bad, it took me a while to figure it out myself). I did, but left with some uncertainty. "H" hides the files from the transfer? What does it mean? "P" protec

prevent filter excluded files from being deleted

2023-03-06 Thread Heiko Schlittermann via rsync
version 3.2.3 protocol version 31 Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted mes

Re: Can rsync write to a FIFO?

2023-02-11 Thread Heiko Schlittermann via rsync
Chris Green via rsync (Fr 10 Feb 2023 10:31:15 CET): > Can rsync write to a FIFO? Obviously one needs the --inplace to do > this, does one also need --write-devices? I think, there is no point in using rsync, as there is nothing to compare against on the remote side (and I've doubts if rsync wil

syncing huge files/devices: bmapfs

2023-02-09 Thread Heiko Schlittermann via rsync
a.schlittermann.de/hs12/bmapfs Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted

Re: deflate on token returned 0 - rsync error: error in protocol data stream

2021-10-22 Thread Heiko Schlittermann via rsync
Hi, Heiko Schlittermann via rsync (Mi 20 Okt 2021 10:56:51 CEST): > Hello, > > we're using rsync on SLES 12 SP 5 on both sides (for detailed version > info see below) and we're experiencing the following issue on the > sender's side: … > deflate on token retur

deflate on token returned 0 - rsync error: error in protocol data stream

2021-10-20 Thread Heiko Schlittermann via rsync
64-bit inums, 64-bit timestamps, 64-bit long ints, socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace, append, ACLs, xattrs, iconv, symtimes, prealloc, SLP rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditio

Re: [PATCH] Replace mkproto.pl with mkproto.awk

2019-11-16 Thread Heiko Schlittermann via rsync
Ethan Sommer (So 17 Nov 2019 10:08:16 CST): > > Me? I think, the rsync maintainers, or? > > I just added my 2 cents and would stick with .pl, it has proven to be > > stable :) (Yes, I'm a Perl user.) > Meant to direct that towards the rsync maintainers sorry. Are you > suggesting that something th

Re: [PATCH] Replace mkproto.pl with mkproto.awk

2019-10-31 Thread Heiko Schlittermann via rsync
on it for build purpose would matter. IMHO. There are many flavours of AWK. Are you sure, that your AWK replacement runs everwhere? Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de internet & unix support -

Re: --partial does not "unhide" the files

2018-12-31 Thread Heiko Schlittermann via rsync
Kevin Korb via rsync (Mo 31 Dez 2018 20:50:03 CET): > I can't say I have any idea why rsync would just skip that step and I > can't duplicate it myself. > Your only recourse might be to use --inplace on that system. Hm. receiver.c or rsync.c both contain the debug info string "renaming %s to %s\n

Re: --partial does not "unhide" the files

2018-12-31 Thread Heiko Schlittermann via rsync
ze is 0 speedup is 0.00 [sender] _exit_cleanup(code=0, file=main.c, line=1196): entered [sender] _exit_cleanup(code=0, file=main.c, line=1196): about to call exit(0) Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlitterm

--partial does not "unhide" the files

2018-12-30 Thread Heiko Schlittermann via rsync
Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --- key

Re: Comparison of huge files ineffective?

2018-03-22 Thread Heiko Schlittermann via rsync
I'll try to build a reproducer. Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg enc

Re: Comparison of huge files ineffective?

2018-03-14 Thread Heiko Schlittermann via rsync
Kevin Korb via rsync (Mi 14 Mär 2018 14:52:55 CET): > Your observation would be right if you are using --checksum which you > shouldn't be. Otherwise, unless you are using --whole-file rsync will > use its differential algorithm to compare the files. If you are using > --progress you will see it

Comparison of huge files ineffective?

2018-03-14 Thread Heiko Schlittermann via rsync
the rsync version? 2) Is there a way to get read (and checksumming) of both sides in parallel? Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de internet & unix support - Heiko Schlittermann,

Re: How to capture the stderr of rsync and redirect it into a file?

2015-04-15 Thread Heiko Schlittermann
Hongyi Zhao (Mi 15 Apr 2015 14:58:21 CEST): > On Wed, 15 Apr 2015 14:39:10 +0200, Heiko Schlittermann wrote: > > > Because you didn't tell. > > > > … 2> > > > > Note the missing space between die file descriptor and the redirection > &g

Re: How to capture the stderr of rsync and redirect it into a file?

2015-04-15 Thread Heiko Schlittermann
n't tell. … 2> Note the missing space between die file descriptor and the redirection operator. Best regards from Dresden/Germany Viele Grüße aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---- internet & unix support - Heiko Sch

Re: rsync specified directory(ies)

2014-06-17 Thread Heiko Schlittermann
Hi, Pletter Thomas (Di 17 Jun 2014 15:28:21 CEST): > Hello, > > i try to copy a specified directory and the according folders and files below > to a remote host. > > cd /dir > /usr/bin/rsync -ravz -e ssh --include='*/' --include='*/00/*/*' > --exclude='*' . remote_host:/tmp > > i want to c

Re: Print files which would be transfered by rsync (when syncing two directories)

2014-06-16 Thread Heiko Schlittermann
Hi, Karl-Philipp Richter (Mo 16 Jun 2014 14:29:04 CEST): > Hi together, > after I read "very often" without even a tiny bit of a contradiction, I > start to have the feeling I have a basic misunderstanding of rsync. > > Assume one want to get a list of files which would have been transfered > by

Re: rw-devices patch for rsyncing block devices

2011-11-28 Thread Heiko Schlittermann
Václav Ovsík (Mo 28 Nov 2011 10:05:58 CET): > Hi, > I rebased rw-devices patch for rsync last weekend. Seems to me it works … > I think a group of users want to use rsync to copy disk images. For those (@Linux) who can't wait: I wrote a small script mapping a block device via FUSE into something