From owner-freebsd-isp@FreeBSD.ORG Wed Aug 25 12:19:00 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BA0C16A4CE for ; Wed, 25 Aug 2004 12:19:00 +0000 (GMT) Received: from mail.day-light.net (day-light.net [64.37.72.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C0A43D2D for ; Wed, 25 Aug 2004 12:19:00 +0000 (GMT) (envelope-from john@day-light.com) Received: from w1 (gabriel.day-light.net [69.27.46.22]) by mail.day-light.net (Postfix) with SMTP id 5893D3527A for ; Wed, 25 Aug 2004 07:18:59 -0500 (CDT) From: "John Brooks" To: Date: Wed, 25 Aug 2004 07:18:59 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: Importance: Normal Subject: RE: Can't get rsync preserving ownership but rdist6 does? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: john@day-light.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 12:19:00 -0000 I pull the backups from the server instead of initiating from the client, there is a "--numeric-ids" option, for details check 'man rsync' -- John Brooks john@stlbsd.com > -----Original Message----- > From: owner-freebsd-isp@freebsd.org > [mailto:owner-freebsd-isp@freebsd.org]On Behalf Of Andrew Nelson > Sent: Wednesday, August 25, 2004 12:09 AM > To: freebsd-isp@freebsd.org > Subject: Can't get rsync preserving ownership but rdist6 does? > > > Hi, > > I have a central backup machine with a rsync daemon running with under > the user/group of root/wheel. I then have a number of other FreeBSD > machines pushing files to it for backup which is working > > On the client machines, I use: > rsync -CavzHpog /etc/namedb/ backup@backups.domainname.com:/archive/namedb > > All the files on the remote machine have the correct permissions but > are all owned by the 'backup' user. I used to use rdist6 which > would turn > the > UID and GID into numbers where the users didn't exist on the > local machine > and it > would all preserce nicely. > > My /usr/local/etc/rsyncd.conf is below and rsync is started by root > with "/usr/local/bin/rsync --daemon" > > > I'd appreciate any help! > Thanks, > Andrew. > > > -------------- > # rsyncd conf > > # User & Group for rsync to run as > uid = root > gid = wheel > > # Use chroot with rsync > use chroot = yes > max connections = 20 > > auth users = backup > secrets file = /usr/local/etc/rsyncd.secrets > > > # log and pid file options > pid file = /var/run/rsyncd.pid > log file = /var/log/rsync.log > syslog facility = local5 > > hosts allow = > hosts deny = * > > [dns] > path = /archive/namedb/ > comment = Primary Name Server Backup > secrets file = /usr/local/etc/rsyncd.secrets > strict modes = true > read only = false > > _________________________________________________________________ > Protect your inbox from harmful viruses with new ninemsn Premium. Go to > http://ninemsn.com.au/premium/landing.asp?banner=emailtag&referrer=hotmail > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"