X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Matthias Meyer <Matthias.Meyer@gmx.li>
Subject:  NT-Authority/System will be file owner after rsync restore
Date:  Sun, 30 Nov 2008 23:13:28 +0100
Lines: 50
Message-ID:  <ggv36a$mkb$1@ger.gmane.org>
Reply-To: Matthias.Meyer@gmx.li
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7Bit
User-Agent: KNode/0.10.9
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

I try to backup WindowsXP as well as Vista to an Linux server.
I use backuppc as backup-server, cygwin as client environment and rsync for
transport.
The backup seems to work well but the restore not. The restored files will
have "NT-Authority/System" as new owner, independend from their old owner
or if the file not exist before restore.
My rsyncd.conf:
 max connections = 6
 log file = /var/log/backup-service.log
 read only = false
 write only = false
 transfer logging = no
 list = false
 max verbosity = 6
 address = 127.0.0.1

[C]
 path = /cygdrive/c/

The rsync arguments by backup (extracted from backuppc logfile):
Sending args:
--server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive --one-file-system --bwlimit=512

The rsync logfile from restore (extracted from backuppc logfile):
Sending args:
--server --numeric-ids --perms --super --owner --group -D
--links --hard-links --times --block-size=2048 --relative --ignore-times --recursive
C/etc/
Sending /etc/account.sav (remote=/account.sav) type = 0
  restore   700 4294967295/4294967295          47 /etc/account.sav
Done: 1 files, 47 bytes

Maybee the error based on the backup because
The rsync logfile from backupextracted from backuppc logfile):
Connected to module C
Sending args:
--server --sender --numeric-ids --perms --super --owner --group -D
--links --hard-links --times --block-size=2048 --recursive --one-file-system --bwlimit=512 -vv
--ignore-times
 pool     700 4294967295/4294967295          47 etc/account.sav

I would believe that 4294967295/4294967295 is the uid/gid.

Thanks in advance
Matthias
-- 
Don't panic


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

