delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <493317D0.1030805@cygwin.com> |
Date: | Sun, 30 Nov 2008 17:46:40 -0500 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081120 Remi/2.0.0.18-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.18 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: NT-Authority/System will be file owner after rsync restore |
References: | <ggv36a$mkb$1 AT ger DOT gmane DOT org> |
In-Reply-To: | <ggv36a$mkb$1@ger.gmane.org> |
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 |
Matthias Meyer wrote: > 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. Could be. I don't know much about rsync. However, if that is the uid/gid, it maps to -1 (don't know why it's represented as a 32-bit value though.) Anyway, if you and I are right, then my WAG is that your '/etc/passwd' and/or '/etc/group' file(s) are wrong. See <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids> for more details on Cygwin special IDs. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |