Re: rsync 3.2.7 hangs when --usermap is used and receiver is not a super-user

2023-03-09 Thread Tomasz Chmielewski via rsync
On 2023-03-09 09:10, Tomasz Chmielewski via rsync wrote: So from the tests above, it hangs with rsync 3.2.3 on the sender and rsync 3.2.7 on the receiver. I'll run some more tests. Self-compiled rsync 3.2.7 on Debian to Ubuntu (rsync 3.2.7) - does NOT hang. Tomasz Chmielewski -- P

Re: rsync 3.2.7 hangs when --usermap is used and receiver is not a super-user

2023-03-09 Thread Tomasz Chmielewski via rsync
On 2023-03-09 08:15, francis.montag...@inria.fr wrote: Hi. On Wed, 08 Mar 2023 22:21:28 +0100 Tomasz Chmielewski via rsync wrote: After upgrading to rsync 3.2.7, the following command hangs forever (using "--usermap" causes the hang; without "--usermap" it doesn't

rsync 3.2.7 hangs when --usermap is used and receiver is not a super-user

2023-03-08 Thread Tomasz Chmielewski via rsync
ded behaviour? The fine manual says that --usermap should be used as a super-user on the receiver, but does not mention that it will hang if used as a non-super-user. Reproducible on Ubuntu 20.04 LTS. Tomasz Chmielewski -- Please use reply-all for most replies to avoid omitting the mailing

encrypted rsyncd - why was it never implemented?

2014-12-03 Thread Tomasz Chmielewski
(i.e. read only access, chroot, easy way of adding/modifying users and modules etc.) Why was encrypted communication in rsyncd never implemented? Some technical disagreements? Nobody volunteered? -- Tomasz Chmielewski http://www.sslrack.com -- Please use reply-all for most replies to avoid

what is the default value for --compress-level=?

2010-09-14 Thread Tomasz Chmielewski
allowed values? 1-9? 0-9? Something else? -- Tomasz Chmielewski http://wpkg.org -- 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

Re: rsyncd users/passwords in a database (mysql, postgresql)?

2010-05-29 Thread Tomasz Chmielewski
Am 29.05.2010 19:17, Wayne Davison wrote: On Thu, May 27, 2010 at 8:45 AM, Tomasz Chmielewski mailto:man...@wpkg.org>> wrote: Is it possible to make rsync (in daemon mode) fetch the users from a database (mysql, postgresql), instead of storing them in plain text "s

rsyncd users/passwords in a database (mysql, postgresql)?

2010-05-27 Thread Tomasz Chmielewski
Is it possible to make rsync (in daemon mode) fetch the users from a database (mysql, postgresql), instead of storing them in plain text "secrets file"? -- Tomasz Chmielewski http://wpkg.org -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe

O_DIRECT, avoiding system cache?

2010-03-13 Thread Tomasz Chmielewski
past about such a feature (avoiding using system cache), but I'm not sure if there were any conclusions out of it. -- Tomasz Chmielewski http://wpkg.org -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/m

Re: Windows backup API in rsync port?

2008-03-31 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb: Windows systems have a great "feature" - even administrators can't access files for which they don't have permissions (I'm not talking about files exclusively opened, which is something else). To read files which are normally inaccessibl

Windows backup API in rsync port?

2008-03-28 Thread Tomasz Chmielewski
ent permissions, Windows administrator can use Windows backup API. Unfortunately, rsync Windows port doesn't seem to use this feature. There was a similar thread about it 4 years ago - did anything change in rsync from this time? http://lists.samba.org/archive/rsync/2004-February/thread.html#8677

start transfer while still getting file list - possible?

2007-03-06 Thread Tomasz Chmielewski
file list is still getting built? If it was possible, in my case, the whole data transfer could be finished 2 hours faster. I didn't see such option in 2.6.9; perhaps it's planned for 3.0.0? -- Tomasz Chmielewski http://wpkg.org -- To unsubscribe or change options: https://lists

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Tomasz Chmielewski
Tomasz Chmielewski wrote: Tomasz Chmielewski wrote: I want to transfer files from a Windows server running rsyncd to a local Linux machine. It has no SSH, so I can't use keys. (...) What is the recommended way to copy files from a (password-protected) rsyncd server in a script? Looks

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Tomasz Chmielewski
Tomasz Chmielewski wrote: I want to transfer files from a Windows server running rsyncd to a local Linux machine. It has no SSH, so I can't use keys. (...) What is the recommended way to copy files from a (password-protected) rsyncd server in a script? Looks like I should use: e

passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Tomasz Chmielewski
expect <However, this has a drawback that I loose the exit code produced by rsync (I'm no expect guru, so maybe perhaps there is a workaround to that). What is the recommended way to copy files from a (password-protected) rsyncd server in a script? -- Tomasz Chmielewski -- To unsubs

Re: no such file or directory - but hey, the files are there!

2006-12-25 Thread Tomasz Chmielewski
Matt McCutchen wrote: On 12/25/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote: [...] rsync: pop_dir "/cygdrive/c/WINDOWS/system32/u:" (in uDrive) failed: No such file or directory (2) rsync error: errors selecting input/output files, dirs (code 3) at flist.c(1281) [sen

Re: no such file or directory - but hey, the files are there!

2006-12-25 Thread Tomasz Chmielewski
Matt McCutchen wrote: On 12/25/06, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote: Wayne Davison wrote: > [...] The uDrive module looks to have a > bad path setting: you can't use drive letters with rsync, so be sure to > specify something like "/cygdrive/u"

Re: no such file or directory - but hey, the files are there!

2006-12-25 Thread Tomasz Chmielewski
Wayne Davison wrote: On Mon, Dec 25, 2006 at 02:40:47PM +0100, Tomasz Chmielewski wrote: 2. But I don't need to copy the whole "/share/backup", all I really want to transfer is "/share/backup/fileacl" - we change the rsync command line accordingly: Why did you ch

no such file or directory - but hey, the files are there!

2006-12-25 Thread Tomasz Chmielewski
ne in the first try. I don't see any obvious problem here. -- Tomasz Chmielewski http://wpkg.org -- 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 freezes when copying several million files

2006-08-22 Thread Tomasz Chmielewski
depends on the connection you have), so that there would be only one rsync instance running? My servers are running Debian Sarge i.e. rsync 2.6.4 Upgrade to rsync 2.6.8 on both sides? -- Tomasz Chmielewski http://wpkg.org -- To unsubscribe or change options: https://lists.samba.org/mail

Re: rsync freezes when copying several million files

2006-08-21 Thread Tomasz Chmielewski
> On Mon 21 Aug 2006, Tomasz Chmielewski wrote: (...) >> Process 23311 detached >> >> >> [EMAIL PROTECTED] kernel]# strace -p 23310 >> Process 23310 attached - interrupt to quit >> select(6, [5], [], NULL, {4, 80}) = 0 (Timeout) >> select(

rsync freezes when copying several million files

2006-08-21 Thread Tomasz Chmielewski
essages in strace output worry me and make me think something didn't go as planned. I tried rsync 2.6.6, and then upgraded to 2.6.8, but both froze (at least it looks like that to me). -- Tomasz Chmielewski http://wpkg.org -- To unsubscribe or change options: https://lists.samba.org

does rsync support acl and xattr?

2006-02-09 Thread Tomasz Chmielewski
th support for these? If I backup a Samba server, which has a filesystem mounted with acl,user_xattr (with the newset version of rsync), to another server, also with acl,user_xattr filesystem - will I loose acl and xattr attributes? -- Tomasz Chmielewski Software deployment with Samba http:

Re: Strange result when backing up /etc vs /root

2005-12-28 Thread Tomasz Chmielewski
Philip Rhoades schrieb: People, My backup script has lines: dt=`date '+%Y%m%d'` . . DELETE="--delete" . . rsync -av $DELETE --backup --backup-dir /delmod/$dt /etc /backup/ rsync -av $DELETE --backup --backup-dir /delmod/$dt /root /backup/ - only the changes to /root get backed up but

Re: Three-way rsync?

2005-12-07 Thread Tomasz Chmielewski
Stéphane Zanoni schrieb: Hello. I have been using rsync for a couple of months to provide synchronised data between two of our servers and have had wonderful success with it. I was wondering if anyone knew of another tool that might provide the following: - "Real-time" push synchroniza

--backup-dir-dels breaks compatibility

2005-12-05 Thread Tomasz Chmielewski
I wrote a script that uses rsync a bit and wanted to use it. While testing was fine, the real life was more complicated :) Basically, my rsync command looks like that: rsync -v -azu -b --backup-dir /var/backup/files/ /var/profiles/files/ [EMAIL PROTECTED]:/ When I execute it where both machines

Re: two way synchronization with rsync?

2005-11-09 Thread Tomasz Chmielewski
Sumit malhotra schrieb: use samba's postexec and preexec option with RSYNC, it should resolve the issues. I tried that already, it's not reliable for this purpose, it seems to work only if someone connects / disconnacts to/from a share, and not always. -- Tomek http://wpkg.org WPKG - softwa

two way synchronization with rsync?

2005-11-08 Thread Tomasz Chmielewski
I have two offices in one city; employees work in both of them (once in office A, the next or an hour later in office B etc.). They would like to have the same profile (i.e., if they log off in office A, they would like to have their documents, Desktop, emails etc. in the profile in the office

Re: an "intelligent" rsync script, dealing with renames

2005-11-01 Thread Tomasz Chmielewski
Antony Lesuisse schrieb: This is a late reply to a thread of Tomasz Chmielewsk http://lists.samba.org/archive/rsync/2005-October/013878.html He asked if some workaround existed for rename of big files. I've made a script (python needed on both sides) that links the guessed files in the right d

Re: "intelligent" rsync scripts?

2005-10-26 Thread Tomasz Chmielewski
Eberhard Moenkeberg schrieb: (...) Basically, this is how rsync works, but in the end, we transfer 1 GB of files over WAN that we already have locally - the only thing that changed was the folder where that data is. Is there some workaround for this (some intelligent script etc.)? I guess

"intelligent" rsync scripts?

2005-10-26 Thread Tomasz Chmielewski
I use rsync for backing up user data, profiles, important network shares etc. (from several locations over WAN). Overall it works flawlessly, as it transfers only changes, but sometimes there are some serious hiccups. Suppose this scenario, suppose it's 1 GB of files: user shares: /home/joe

Re: include/exclude - how to transfer /etc and /home/users from /?

2005-06-27 Thread Tomasz Chmielewski
Wayne Davison schrieb: On Mon, Jun 27, 2005 at 04:05:47PM +0200, Tomasz Chmielewski wrote: I'm trying to copy recursively only /etc, /home/samba/profiles and /home/samba/shared. The manpage explains how you need to include all directories on the way down to the file/dir in the recu

include/exclude - how to transfer /etc and /home/users from /?

2005-06-27 Thread Tomasz Chmielewski
I'm trying to copy recursively only /etc, /home/samba/profiles and /home/samba/shared. To do so, I use this rsync command: rsync --progress -v -u -a -z --stats \ --include="/etc" \ --include="/home/samba/profiles" \ --include="/home/samba/shared" \ --exclude="/*" \ --numeric-ids --delete-after

Re: can I preserve UIDs/GIDs when transferring with rsync?

2005-06-24 Thread Tomasz Chmielewski
Craig Barratt schrieb: Tomasz Chmielewski writes: I noticed that rsync can preserve most of the file's characteristics when it is used with "-a" option (it includes -o and -g flags for preserving owners and groups). However, when I transfer data between systems, it affec

can I preserve UIDs/GIDs when transferring with rsync?

2005-06-24 Thread Tomasz Chmielewski
I noticed that rsync can preserve most of the file's characteristics when it is used with "-a" option (it includes -o and -g flags for preserving owners and groups). However, when I transfer data between systems, it affects my UIDs/GIDs, making the data hard to recover. Example: Sending sid

Re: rsync to retry if copy failed - possible?

2004-12-11 Thread Tomasz Chmielewski
Eberhard Moenkeberg wrote: Hi, On Sat, 11 Dec 2004, Tomasz Chmielewski wrote: I want to be 100% sure that rsync copies something from one location to another. However, I did not see an option which would make rsync retry an operation if it failed for whatever reason (network was down when rsync

rsync to retry if copy failed - possible?

2004-12-11 Thread Tomasz Chmielewski
Hello, I want to be 100% sure that rsync copies something from one location to another. However, I did not see an option which would make rsync retry an operation if it failed for whatever reason (network was down when rsync started, or network went down during rsync was copying something, con