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
ith rsync. Make sure that the versions of rsync aren't too different, you may run into problems with rsync options not being supported on the old one. The error message says that there was a problem with the pre-xfer exec. Check what that's doing (in the daemon's rsyncd.conf), mo

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

2024-06-03 Thread Paul Slootman via rsync
(or files / directories created / deleted). Just a permission change is also not shown with -v, but is with -i. Paul -- 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, r

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

2024-05-15 Thread Paul Slootman via rsync
ve a large percentage then. You can also run strace to profile rsync to see where most wall clock time is spent: strace -w -c You'll have to do this on each rsync process. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https

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

2024-01-18 Thread Paul Slootman via rsync
mote server, and the client rsync can't fulfil that request; hence the error. If you don't want *.dvi files to be transferred, then you should add --exclude '*.dvi' to the invocation. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To uns

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
e sure to drop the caches before such tests every time: echo 3 > /proc/sys/vm/drop_caches Paul -- 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.or

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

2023-09-06 Thread Paul Slootman via rsync
cially 2.6.8 is quite ancient. You may want to upgrade before going bug hunting, chances are your problem has already been fixed. Paul -- 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 Befor

Re: What could cause rsync to kill ssh?

2023-06-03 Thread Paul Slootman via rsync
hd doesn't help? Does it not stay running, or is the daemon in fact running but not accepting connections? It's the age-old question: "it doesn't work" -- "_how_ is it not working?" Does dmesg give any useful information? Or perhaps journalctl? Usually the clues

Re: Permission denied errors

2022-11-15 Thread Paul Slootman via rsync
x86_64/repodata/.~tmp~/' rsync: change_dir "/7.9.2009/updates/x86_64/repodata/.~tmp~" (in CentOS) failed: Permission denied (13) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1819) [Receiver=3.2.3] You might want to --exclude '.~t

Re: rsync --daemon complains parsing nonexistant /etc/rsyncd.conf

2022-09-18 Thread Paul Slootman via rsync
is correct in refusing to run with a missing rsyncd.conf. Paul -- 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

Re: Problems building rsync with Clang 15 beta

2022-08-18 Thread Paul Eggert via rsync
On 8/18/22 19:31, Wayne Davison wrote: Maybe Clang 15 broke the testing idiom that sets $GCC? I think Clang has always pretended to be GCC well enough to fool Autoconf so that 'configure' sets GCC. What's new in Clang 15 is that it starts being pedantic about empty arglists, apparently. --

Re: Problems building rsync with Clang 15 beta

2022-08-18 Thread Paul Eggert via rsync
On 8/18/22 09:38, Khem Raj wrote: I think the autoconf patch should be good on its own merits regardless It partly depends on how much we care about compatibility. Putting the 'void' in there will break pre-C89 compilers, as well as C++ compilers pretending (badly) to be C compilers. I doubt

Problems building rsync with Clang 15 beta

2022-08-18 Thread Paul Eggert via rsync
e rsync mailing list to give rsync developers a heads-up about the compatibility problem building rsync with Clang 15 (which luckily does not exist yet :-).From e64a58387db46239902b610871a0eb81626e99ff Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 18 Aug 2022 07:46:28 -0700 Subject: [PATCH]

Re: Does rsync verify its writes?

2022-07-12 Thread Paul Slootman via rsync
e files are written correctly (if the source hasn't changed in the meantime). That might help to give some peace of mind. Paul > On 7/12/22 02:31, Mark Filipak via rsync wrote: > > Hello. Does rsync verify its writes? > > > > Re, 'info rsync'. > > >

Re: Rsync Users and Groups

2022-07-06 Thread Paul Slootman via rsync
o be applicable. The password will still need to be set in the secrets file, no system passwords are used. Check the rsyncd.conf manpage, heading "auth users". Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https:/

Re: exclude include path problems

2022-02-07 Thread Paul Slootman via rsync
exclude include exclude too, infact every conceivable Why not just do: rsync -a server:mirrors/foo/bar/ /local/path/to/foo/bar/ Paul -- 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 po

Re: Confused as to why rsync thinks time, owner and group of many files differ

2022-02-04 Thread Paul Slootman via rsync
That should give detailed information about ownership and modification times, limiting the transfer to just that index.html file to limit the amount of output. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/ma

Re: trailing spaces in exclude-from file

2022-01-24 Thread Paul Slootman via rsync
On Mon 24 Jan 2022, Jürgen Bausa via rsync wrote: > > However, that's just a proposal. But the behavior of trailing spaces is > something I guess should be corrected. Is it? How would you otherwise specify a space that you *do* intend to be relevant? Paul -- Please use repl

Re: How to manage root<-->root rsync keeping permissions?

2021-08-03 Thread Paul Slootman via rsync
secure so that not everyone on another-system can read all of /etc from one-system. Details in the manpage. Paul -- 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

Re: '--address' option on client side.

2021-03-29 Thread Paul Slootman via rsync
e traffic e.g. from a particular IP address out over a certain interface. This is totally outside the scope of rsync; there's nothing rsync can do to influence this. You need the 'ip rule' and 'ip route' commands. Paul -- Please use reply-all for most replies to avoid omittin

Re: --compare-dest seems to nullify --update

2021-03-28 Thread Paul Gover via rsync
> I'm using rsync to update my local database snapshot from a remote pooled > mirror server. The trouble is that the servers in the pool are sometimes > out of date, so I only want to update when the files are newer than the > local copies to avoid unnecessary I/O.. > ... I've found a workaround

--compare-dest seems to nullify --update

2021-03-26 Thread Paul Gover via rsync
I'm using rsync to update my local database snapshot from a remote pooled mirror server. The trouble is that the servers in the pool are sometimes out of date, so I only want to update when the files are newer than the local copies to avoid unnecessary I/O.. Originally I copied my existing

Re: rsync support in authprogs - feedback requested

2021-02-18 Thread Paul Slootman via rsync
works well. But I do see that there could be a use for rsync support in authprogs. Paul -- 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

Re: Is there any way to restore/create hardlinks lost in incremental backups?

2020-12-11 Thread Paul Slootman via rsync
y to remember to do the same thing on the backup which some say is wrong, but it saves a lot of space, like you discovered :) Paul -- 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

Strange behavior after upgrading to rsync 3.2.3

2020-11-18 Thread Paul Goyette via rsync
t but built with an earlier NetBSD system. ++--+---+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com | | Software Developer | 0786 F758

Re: feature request: exclude from path

2020-08-03 Thread Paul Slootman via rsync
but perhaps #!/bin/sh so that the script is not run by bash but e.g. ash or dash that don't do the braces expansion. It's always best (especially in a script) to write it out, don't rely on the shell for such things. Paul -- Please use reply-all for most replies to avoid omitt

Re: Removing folder at destination

2019-11-22 Thread Paul Slootman via rsync
nd delete the 2_ASSETS folder so I dont have to > manually do this 200 times each day? You can't use rsync to perform remote rename operations, which is what you're essentially asking for. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To uns

Re: hardlinking missing files from src to a dest: didn't work way I thought it would.

2019-11-14 Thread Paul Slootman via rsync
On Thu 14 Nov 2019, Pierre Bernhardt via rsync wrote: > Am 14.11.19 um 10:54 schrieb Paul Slootman via rsync: > > You need to specify the source directory as the link-dest directory. > > Hi, I tried it also because it's an old question which has never worked > for me. In

Re: hardlinking missing files from src to a dest: didn't work way I thought it would.

2019-11-14 Thread Paul Slootman via rsync
hing useful, as you're telling it to look in /tumbleweed/ for files that are to be placed in /tumbleweed/ i.e. the exact same location. It's not going to do ln /tumbleweed/foo/bar /tumbleweed/foo/bar which is effectively what you're telling it to do. You need to specify the sourc

Re: Seemingly impossible bug: -v not always listing every copied file

2019-10-30 Thread Paul Slootman via rsync
On Wed 30 Oct 2019, raf via rsync wrote: > > I have a task that rsyncs files from a list of > candidate files (--files-from=). It's verbose (-v) and It would be helpful to show the complete rsync command line. Paul -- Please use reply-all for most replies to avoid omitting th

Re: checksum feature request

2019-10-03 Thread Paul Slootman via rsync
imply replacing the current algorithm: that would make it impossible to rsync to / from an older version of rsync. It's an interesting idea, although I wonder how many users would actually profit from this. CPU is generally fast enough to handle what the IO subsystem can read for most people, I imag

Re: rsync rewrites all blocks of large files although it uses delta transfer

2019-02-14 Thread Paul Slootman via rsync
original file is: ABCDEFGHIJ The new file is: XABCDEFGHI Then the delta is just 10%, but the entire file needs to be rewritten as the structure is changed. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.o

Re: linux rsync <-> SSHDroid has started becoming unreliable after an upgrade of Fedora 28 to 29

2019-02-02 Thread Paul Slootman via rsync
n, thus causing rsync to fail. This is a problem with ssh, not with rsync. Try enabling ssh debug options, and try using different ssh ciphers. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listin

Re: bug: xattr filter rule treated as file filter rule on the remote side

2018-04-29 Thread Paul Slootman via rsync
t of files to be transferred. This implies that it always applies to the *sending* side, as that is the side that builds the list to be sent. It does not matter if the sending side is local or remote, so using that in the description of the problem is wrong. Paul -- Please use reply-all for most

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

2018-01-24 Thread Paul Slootman via rsync
hitting. Actually: > > select(1, [0], [], NULL, {60, 0}) ... it's waiting for file descriptor 0 to become readable. The 1st argument 1 is "the highest-numbered file descriptor in any of the three sets, plus 1". Paul -- Please use reply-all for most replies to avoid omitt

Re: [Bug 12568] Integer overflow still exists in xattrs.c, leading to buffer overflow

2017-10-09 Thread Paul Slootman via rsync
On Sun 08 Oct 2017, just subscribed for rsync-qa from bugzilla via rsync wrote: > > --- Comment #1 from Wayne Davison --- > I've committed a fix for this into git. Many thanks for pointing this out. > Sorry for how slow I've been lately. Hey, I'm just happy yo

Re: rsync got stuck

2017-09-06 Thread Paul Slootman via rsync
On Tue 05 Sep 2017, Vangelis Katsikaros via rsync wrote: > On 08/30/2017 05:39 PM, Paul Slootman wrote: > > On Wed 23 Aug 2017, Vangelis Katsikaros via rsync wrote: > > > >> abc 3797 3796 0 01:12 ?00:03:14 /usr/bin/rsync --compress > >>

Re: How to set absolute path for rsync?

2017-08-30 Thread Paul Slootman via rsync
quot;partial" here. --partial-dir is where the partially transferred file is stored if rsync is interrupted with --partial (I'm not sure if --partial-dir implies --partial, it probably does). It does NOT mean where the temporary files are stored during transfer. Paul -- Please use repl

Re: Clarifications on getting debug information when rsync freezes

2017-08-30 Thread Paul Slootman via rsync
STABLISHED 915/sshd: abc [priv > > # 2. find all related processes > destination_machine $ sudo pstree --show-pids 915 > sshd(915)───sshd(1079)───rsync(1082)───rsync(1085) > > # 3. then strace these all these Well, you'll miss anything leading up to the hang, but doing it this may show so

Re: rsync got stuck

2017-08-30 Thread Paul Slootman via rsync
thout the --compress option, that has been the source of problems in the past. If you do need compression you could add that at the ssh level. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listi

Re: Bug: rsync erroneously changes modification time

2017-06-12 Thread Paul Slootman via rsync
On Mon 12 Jun 2017, max.power--- via rsync wrote: > How exactly does rsync determine that the copy has the incorrect timestamp > and not the source file? The source by definition is correct. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscr

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Paul Slootman
On Fri 03 Mar 2017, Steve Dondley wrote: > The directory I'm trying to copy from is: /home/blah/dir > > The symlink is /home/blah/dir/unwanted_symlinked_dir > > On Fri, Mar 3, 2017 at 8:10 AM, Paul Slootman wrote: > > > You don't say explicitly, is t

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Paul Slootman
gt; a --copy-links option to the command, it appears to override my "exclude" > directive and the contents of the symlinked directory gets downloaded > anyway. You don't say explicitly, is the target of the symlink inside or outside the source directory? Paul -- Please

Re: Ownership and permissions when syncing directory contents

2017-01-20 Thread Paul Slootman
gains the properties of the first source directory > with a trailing slash. That is as documented. You are requesting that the directory is synced to c, preserving all attributes (due to -a) so rsync does that. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To

Re: make "rsync -N" == "rsync --numeric-ids" ?

2016-11-18 Thread Paul Slootman
an abbreviation for "--numeric-ids"? "-N" is not in use yet, > afaics. Here's a "me too"; I remember actually trying to use -N a couple of times instead of --numeric-ids because it's the natural thing to use... Paul -- Please use reply-all for most

Re: -e escape rule

2016-10-29 Thread Paul Slootman
gt; > $ echo \I\'\m\ \a\ \s\t\r\i\n\g > I'm a string The point is that the original escaping DOUBLE escapes an equals sign: foo\\\=bar It shouldn't, there's no reason to. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscr

Re: O_NOATIME ?

2016-10-26 Thread Paul Slootman
but then be sure that no application uses the atimes of files; e.g. something like mutt use the atime and mtime to determine whether there is a mail file with unread mail. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https:/

Re: error code 255 - not mentioned in manpage?

2016-10-25 Thread Paul Slootman
On Tue 25 Oct 2016, devz...@web.de wrote: > > is there a reason why error code 255 is not mentioned in the manpage > and wouldn`t it make sense to add "255 Unexplained Error" there > for completeness ? It wouldn't be unexplained then anymore, would it? :-) Pau

Re: -e escape rule

2016-10-20 Thread Paul Slootman
../../latest/etc/ /etc/ example.backup.server.com:/tank/backup/servers/blah/latest.snapshot/etc/ If you're dynamically doing this, you can pass a config file with -F. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https:

Re: rsync: connection unexpectedly closed

2016-10-17 Thread Paul Slootman
Try the transfer without -z. Paul -- 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

Re: rsync: connection unexpectedly closed

2016-10-12 Thread Paul Slootman
t know. You can use lsof -p $pid to show what files that process has opened. On linux you can also use 'ls -l /proc/$pid/fd'. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rs

Re: rsync: connection unexpectedly closed

2016-10-11 Thread Paul Slootman
ion > rsync  version 3.1.1  protocol version 31 As always it's best to first upgrade to the current version (3.1.3) if at all possible, as there's always the chance that the cause of your problems has already been fixed. Paul -- Please use reply-all for most replies to avoid omitting

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

2016-07-08 Thread Paul Slootman
ourse, one could argue that the point of the -n option is to test if it will work when the -n option is removed. That would not be the case here. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/li

Re: --partial not working?

2016-06-28 Thread Paul Slootman
a to the file without bothering to check it. According to a test I did --append isn't overridden by --whole-file so it should work. Paul -- 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 failure on corrupted source data

2016-06-27 Thread Paul J. Durack
I am trying to copy data from a partially corrupt backup (time machine) disk on a os x system to another. Firstly the rsync version (OS X 10.11.5): sync --version rsync version 2.6.9 protocol version 29 Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.

Re: Memory consumption for rsync -axv --delete

2016-03-25 Thread Paul Slootman
re? --delete will still delete stuff elsewhere if necessary. Also look at the description of --delete and --delete-excluded, if you have any questions about what's in the manpage then feel free to ask those here; but for now I get the impression you haven't spent much time reading the manpage

Re: [PATCH] Consider nanoseconds when quick-checking for unchanged files

2016-01-20 Thread Paul Slootman
same problem as detecting that you're writing to a filesystem that doesn't support nanoseconds IMHO. Paul -- 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, r

Re: [PATCH] Consider nanoseconds when quick-checking for unchanged files

2016-01-20 Thread Paul Slootman
On Wed 20 Jan 2016, Andrey Gursky wrote: > > I was just about to implement the same, since nanoseconds are taken > into account when transferring, thus making it obvious not to ignore Really? I thought the protocol only transmits seconds. Paul -- Please use reply-all for most r

Re: strange behaviour when using (conflicting) options -q --progress

2015-12-30 Thread Paul Slootman
On Wed 30 Dec 2015, Paul Slootman wrote: > -q seems to override -v completely, but when combined with --progress, > a single newline is output when there are no updates transferred; but if > a file *was* updated nothing at all is output. > > It seems that there might be some short

strange behaviour when using (conflicting) options -q --progress

2015-12-30 Thread Paul Slootman
quiet mode is skipped somehow. Paul -- 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

minor patch for manpage

2015-12-30 Thread Paul Slootman
The description for --compress-level=NUM does not give any indication what values are permitted for NUM. Paul --- ./rsync.yo.orig 2015-12-30 11:47:24.180646652 +0100 +++ ./rsync.yo 2015-12-30 11:47:27.477198899 +0100 @@ -1907,7 +1907,9 @@ that will not be compressed. dit(bf(--compress

Re: What is the default compression level for local synchronisation?

2015-10-05 Thread Paul Slootman
ompress... That's different from telling rsync not to compress. Paul -- 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

Re: rsync --link-dest and --files-from lead by a "change list" from some file system audit tool (Was: Re: cut-off time for rsync ?)

2015-07-14 Thread Paul Slootman
lesystem (or directory), then the next time you make a new backup with rsync, use --inplace so that just changed parts of the file are written to the same blocks and btrfs will take care of the copy-on-write part. Paul -- Please use reply-all for most replies to avoid omitting the mailing l

Re: Rsync Failed & /proc/kcore 128 TiB & NTFS HDD Makes Scary sounds even when not mounted

2015-04-30 Thread Paul Slootman
quoting BTW) was in fact mounted? If not, that's simply on your root filesystem and you've copied your data to the root filesystem. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman

Re: The complicated filter rule used by me worked for one Debian mirror and not for the other.

2015-04-14 Thread Paul Slootman
.cn.debian.org is running a version of rsync that supports protocol version 30, whereas ftp.is.co.za is running an older version that only supports up to 29. I haven't used such complex filter rules yet (I've been sticking to the --include / --exclude stuff) but I wouldn't be surpris

Re: Two same rsync commands give different results on two debian mirrors.

2015-04-14 Thread Paul Slootman
On Tue 14 Apr 2015, Hongyi Zhao wrote: > On Tue, 14 Apr 2015 09:32:10 +0200, Paul Slootman wrote: > > > On Tue 14 Apr 2015, Hongyi Zhao wrote: > >> > >> See the following commands: > >> > >> ___ > >> &

Re: Two same rsync commands give different results on two debian mirrors.

2015-04-14 Thread Paul Slootman
same tree, use ftp.is.co.za::mirror/ftp.debian.org/ftp.us.debian.org/debian/ for the first location. Paul -- 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

Re: rsync 3.0.9 segmentation fault

2015-04-07 Thread Paul Slootman
On Tue 07 Apr 2015, Aron Rotteveel wrote: > Anyone have any other ideas I could try to debug this issue? :) You could try using the latest version of rsync? 3.1.1 was released some time ago. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe

Re: rsync slow exclude folder

2015-02-28 Thread Paul Slootman
e. That is why rsync has to check every entry in the tmp directory: to see if it is a directory. Try --exclude="tmp/**" to exclude everything under tmp, including directories. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or chang

Re: rsync to multiple destinations

2015-01-29 Thread Paul Slootman
once, the read by the other rsync process will be satisfied from the buffer cache. At least that's been my experience... Paul -- 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 Bef

Re: rsync splits filenames, creates special characters where none are, weird permissions

2015-01-07 Thread Paul Slootman
ng reproducibly, then using strace -f on rsync (with -o strace-output.txt) then perhaps you can see whether the errors already occur when reading the files or not. I have not heard of rsync performing this way, so I strongly suspect some hardware problem. Paul -- Please use reply-all for most

Re: Differing behaviour on consecutive runs

2014-12-17 Thread Paul Slootman
The times of a directory are hardly useful, writing a file or renaming a file in that directory will update the modification time of the directory. Check file timestamps if you're trying to track something down, but first try it with -i (and leave out all the debugging, that might just obs

Re: Bug-report:rsync may hung if time jumps backwards

2014-12-03 Thread Paul Slootman
rowseable, the patch for this can be found at https://git.samba.org/?p=rsync.git;a=commitdiff;h=5546dab32970955e77ef7a5886bcd8fb765a25bf Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rs

Re: Rsync keeps copying everything to the server

2014-10-04 Thread Paul Slootman
On Sat 04 Oct 2014, Paul Slootman wrote: > > Only the modified file was backed up. However the whole file was copied, > > not just the new things. :-( > > Why do you say this? Oops, didn't read Kevin's followup and didn't notice the rsync over two "local&qu

Re: Rsync keeps copying everything to the server

2014-10-04 Thread Paul Slootman
ze 9.5GB" so unless you're not showing the whole output then it only sent half the file. Use --stats to get more info on the whole transfer. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.sa

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

2014-09-15 Thread Paul Slootman
e expired after 10-20 days depending on importance etc. Paul -- 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

Re: Concern: rsync failing to find some attributes in a file transfer?

2014-07-26 Thread Paul Slootman
hat way maybe we here on the mailing list can make sense of what's actually happening. Otherwise take it up with the author of that script. Paul -- 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

configure issue when libattr is in a non-standard location?

2014-05-05 Thread Paul Rogers
Hi, Apologies if I'm missing anything or this has already been discussed. I did try looking at the bug list and mailing list archives before sending this. Plus it's my first time posting. I am trying to compile rsync (v3.1.0) on a Synology NAS with ACL support. Why am I doing this? I have fi

Re: SIGHUP signal

2014-02-15 Thread Paul Slootman
eiving > a SIGHUP. Why should the code be modified to help those that don't read the docs properly? From the rsyncd.conf manpage: Note that you should not send the rsync daemon a HUP signal to force it to reread the rsyncd.conf file. The file is re-read on each client co

Re: problem with rsync-daemon via ssh

2014-02-14 Thread Paul Slootman
AEMON FEATURES VIA A REMOTE-SHELL CONNECTION" part of the manpage. Paul -- 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

Re: /usr/bin/ssh not found when rsync is executed within rsnapshot

2014-02-10 Thread Paul Slootman
s in vim with << . Those leading spaces were not spaces but "no-break spaces", hex value 0x80. So check your config / scripts with "LANG=C cat -v /etc/rsnapshot" etc. > What could be the reason? How could i debug this? I often use "strace -f -e execve command ...&

Re: List subdirectories only n level deep on the remote server when use the -a option of rsync.

2014-02-04 Thread Paul Slootman
same results, but the third, i.e., > the one you gives, give a different result. Why does this happen? >From the manpage: * a trailing "dir_name/***" will match both the directory (as if "dir_name/" had been specified) and everything in the directory (a

Re: List subdirectories only n level deep on the remote server when use the -a option of rsync.

2014-02-02 Thread Paul Slootman
> deep: > > rsync://ftp.cn.debian.org/debian > > Any hints on this? rsync -a --exclude '/*/*/*/***' rsync://ftp.cn.debian.org/debian Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/

Re: Selective --delete

2014-01-08 Thread Paul Slootman
On Tue 07 Jan 2014, Ashley M. Kirchner wrote: > On Tue, Jan 7, 2014 at 9:44 AM, Paul Slootman wrote: > > > rsync will not touch files that have been --exclude'ed; unless you also > > specify --delete-excluded . So just specify those LIVE-only files in > > your exclud

Re: Selective --delete

2014-01-07 Thread Paul Slootman
server, however they are required on the LIVE one. Is there a way to > have rsync NOT delete those? Is there an equivalent exclude option for the rsync will not touch files that have been --exclude'ed; unless you also specify --delete-excluded . So just specify those LIVE-only files in yo

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

2013-12-18 Thread Paul Slootman
iles are always checksummed anyway, as described at the end of the -c option manpage description. Paul -- 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://w

Re: Moving/merging a filesystem back into /

2013-12-03 Thread Paul Slootman
y with daily backups (each being snapshotted and deleted after some time), so not really representative of normal usage. Paul -- 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

Re: segfault in 3.1.1dev

2013-11-05 Thread Paul Slootman
Now a stack size of 8MB should be enough for everybody... so why is rsync using so much stack. Paul -- 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.

Re: rsync-3.1.0 --chown, --usermap, and --groupmap ignored?

2013-10-14 Thread Paul Slootman
ync command as the superuser, and not using the --owner / --group options. Paul -- 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

Re: multiple secrets file

2013-09-30 Thread Paul Slootman
quot;MODULE PARAMETERS" in the rsyncd.conf manpage(*), so that should be fine. (*) in the 3.0.9 version at least, only just noticed 3.1.0 being out Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/ma

Re: Fwd: Re: need help with an rsync patch

2013-08-13 Thread Paul Slootman
n the inode... :) I'm done here... coming back to the OP's problem: if the backup is made by root, then a user should not be allowed to access all parts of that backup. The security problem is there, and not in rsync. Paul -- Please use reply-all for most replies to avoid omitting t

Re: Fwd: Re: need help with an rsync patch

2013-08-13 Thread Paul Slootman
On Tue 13 Aug 2013, Matthias Schniedermeyer wrote: > > BUT there is no direct vulnerability in that, only processes after that > (like backup/rsync) can make a vulnerability out of it. ... which is what I already wrote. Paul -- Please use reply-all for most replies to avoid omi

Re: Fwd: Re: need help with an rsync patch

2013-08-13 Thread Paul Slootman
file than before you hardlinked it. Did you read what i just wrote? Try it on a 3.6 linux kernel. Paul -- 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

Re: Fwd: Re: need help with an rsync patch

2013-08-13 Thread Paul Slootman
e user/group/permissions). I never said that. I said that if a hardlink can be made (and I meant on a modern linux kernel, with default settings) then the user already has permissions to do anything with the file. I forgot already about the old semantics :) Paul -- Please use reply-all for most

Re: Fwd: Re: need help with an rsync patch

2013-08-13 Thread Paul Slootman
On Tue 13 Aug 2013, Matthias Schniedermeyer wrote: > On 13.08.2013 09:52, Paul Slootman wrote: > > On Tue 13 Aug 2013, Sherin A wrote: > > > > > But if a user create a > > > hard link to /etc/shadow from his home dir , and he request a restore , > >

Re: Fwd: Re: need help with an rsync patch

2013-08-13 Thread Paul Slootman
On Tue 13 Aug 2013, Sherin A wrote: > But if a user create a > hard link to /etc/shadow from his home dir , and he request a restore , > then he can read the shadow files and decrypt it . If he can make a HARD link to the shadow file, then he can already read it - and worse. Paul -

Re: connection lost during the transfer

2013-07-01 Thread Paul Slootman
ed for the specified time then rsync will exit. The default is 0, which means no timeout. Paul -- 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

Re: Platform variations with --exclude-from

2013-05-27 Thread Paul Slootman
les are also anchored at the filesystem root, but the transfer root is /cygdrive/ If you change the excludes to /d/$RECYCLE.BIN etc. (i.e. remove the leading /cygdrive) then it should work. That you're seeing this on windows is irrevelant, a similar setup on linux (e.g. transferring /etc/netw

Re: rsync behavior on copy-on-write filesystems

2013-05-21 Thread Paul Slootman
On Tue 21 May 2013, Allen Supynuk wrote: > > ## 1) Start with an empty filesystem > > $ df -h . Note that you need to be using "btrfs filesystem df ." for reliable numbers; the normal df does not take into account background cleanups etc. Paul -- Please use reply-a

Re: exclude a pattern but only in the top level

2013-05-15 Thread Paul Slootman
the file. --exclude-from=filename tells rsync directly to read the file. Paul -- 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

Re: exclude a pattern but only in the top level

2013-05-15 Thread Paul Slootman
using -f to specify a filter rule to tell rsync to merge in a file with additional filter rules, which is a bit of a roundabout way. Why not tell rsync directly to read a file with include/exclude rules by using --exclude-from Paul -- Please use reply-all for most replies to avoid omitting the mailin

  1   2   3   4   5   6   7   8   9   >