delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/30/17:14:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthias Meyer <Matthias DOT Meyer AT gmx DOT 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 DOT Meyer AT gmx DOT li
Mime-Version: 1.0
User-Agent: KNode/0.10.9
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019