rsync restore the file owner but rsyncd do it not

2008-12-07 Thread Matthias Meyer
Hi all, I want use rsync to backup a windows XP professional client to my linux server. I've installed cygwin/rsync on windows and start with a local windows backup. rsync -aA --super /cygdrive/c/bootfont.bin /cygdrive/c/backup copies the file, but only the attributes "RA" and not "the original "

Re: rsync restore the file owner but rsyncd do it not

2008-12-07 Thread Brian Dessent
Matthias Meyer wrote: > My first questions: > What the reason for not copying the attributes "HS"? rsync is a POSIX program. It sees everything in terms of POSIX. That means it sees a file mode, such as 0644, 0755, etc. It reads a mode on the source and sets that same mode on the dest, that is

Re: rsync restore the file owner but rsyncd do it not

2008-12-07 Thread Matthias Meyer
Brian Dessent wrote: > Matthias Meyer wrote: > >> My first questions: >> What the reason for not copying the attributes "HS"? > > rsync is a POSIX program. It sees everything in terms of POSIX. That > means it sees a file mode, such as 0644, 0755, etc. It reads a mode on > the source and sets

Re: rsync restore the file owner but rsyncd do it not

2008-12-08 Thread Matthias Meyer
:-) Yes it works! Three important things are going wrong in "my" past: 1. /etc/passwd as well as /etc/group are necessary in windows to enable cygwin to map windows SID/GID to posix uid/gid. 2. --numeric-ids are necessary during backup to server if the client uid/gid is unknown there (whats pr

Re: rsync restore the file owner but rsyncd do it not

2008-12-08 Thread Christopher Faylor
On Mon, Dec 08, 2008 at 04:51:29PM +0100, Matthias Meyer wrote: >:-) Yes it works! > >Three important things are going wrong in "my" past: >1. /etc/passwd as well as /etc/group are necessary in windows to enable > cygwin to map windows SID/GID to posix uid/gid. >2. --numeric-ids are necessary duri

Re: rsync restore the file owner but rsyncd do it not

2008-12-08 Thread Christopher Faylor
On Mon, Dec 08, 2008 at 11:47:51AM -0500, Christopher Faylor wrote: >On Mon, Dec 08, 2008 at 04:51:29PM +0100, Matthias Meyer wrote: >>:-) Yes it works! >> >>Three important things are going wrong in "my" past: >>1. /etc/passwd as well as /etc/group are necessary in windows to enable >> cygwin to

Re: rsync restore the file owner but rsyncd do it not

2008-12-10 Thread Matthias Meyer
Christopher Faylor wrote: > On Mon, Dec 08, 2008 at 11:47:51AM -0500, Christopher Faylor wrote: >>On Mon, Dec 08, 2008 at 04:51:29PM +0100, Matthias Meyer wrote: >>>:-) Yes it works! >>> >>>Three important things are going wrong in "my" past: >>>1. /etc/passwd as well as /etc/group are necessary i

Re: rsync restore the file owner but rsyncd do it not

2008-12-28 Thread Matthias Meyer
Matthias Meyer wrote: > :-) Yes it works! > > Three important things are going wrong in "my" past: > 1. /etc/passwd as well as /etc/group are necessary in windows to enable > cygwin to map windows SID/GID to posix uid/gid. > 2. --numeric-ids are necessary during backup to server if the client >