From owner-freebsd-isp@FreeBSD.ORG Thu Apr 1 13:01:10 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 7916916A4CE for ; Thu, 1 Apr 2004 13:01:10 -0800 (PST) Received: from enterprise.ecore.net (enterprise.ecore.net [212.223.99.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 47EA043D2D for ; Thu, 1 Apr 2004 13:01:09 -0800 (PST) (envelope-from cs@cheasy.de) Received: (qmail 11010 invoked from network); 1 Apr 2004 21:01:03 -0000 Received: from p508403b6.dip0.t-ipconnect.de (HELO www.cheasy.de) (80.132.3.182) by cheasy.de with SMTP; 1 Apr 2004 21:01:03 -0000 From: Christoph Sold To: sellis@telus.net Date: Thu, 1 Apr 2004 23:00:16 +0200 User-Agent: KMail/1.6.1 References: <20040329183323.GC51870@telus.net> <86wu51oukz.fsf@PECTOPAH.shenton.org> <20040401064322.GA62696@telus.net> In-Reply-To: <20040401064322.GA62696@telus.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200404012300.27578.cs@cheasy.de> cc: freebsd-isp@freebsd.org Subject: Re: tape backup from remote X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2004 21:01:10 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 01 April 2004 08:43, Sean Ellis wrote: > On Wed, Mar 31, 2004 at 11:22:04AM -0500, Chris Shenton wrote: > > Christoph Sold writes: > > > Amanda dumps (or tars -- your choice) to a holding disk on the > > > backup server. After enough data has been collected to stream to > > > tape, the tape is started. Keeps the tape streaming. > > > > I've also used Amanda and like it for this reason. The only > > problem, > > I'm looking at the Amanda suggestions. > > Just to get the ball rolling I decided to make local copies of the > more important files with rsync. Until the tape is installed and up. > > I copied a directory tree last night using -avz as switches, no > daemon running; the files lost their ownership in the copying. I've > been searching and doing some experimenting. Running rsync as a > daemon on the backup server with uid =3D root in the rsyncd.conf seems > to preserve the ownership. Is there a better way of achieving this? > Most of the users and groups on the source machine don't exist on the > destination machine. Both tar as well as dump keep uid and gid _numerically_. Restoring to=20 the original machine as root yields the expected results. If you use=20 newer features of the file system such as ACLs, keep in mind tar is not=20 up to the job -- use star from the ports instead. During restores, the restore job _must_ be run with root privileges --=20 otherwise restore maybe cannot write to a just restored directory.=20 rsync has its uses as project synchronization mechanism, but won't do=20 good when the user/group lists differ between machines. It was not=20 designed as backup mechanism, see? Regardless which backup application you use, it is possible to tunnel=20 the backup through ssh onto any remote machine. No need to cannibalize=20 rsync for remote backups. See=20 http://lists.freebsd.org/pipermail/freebsd-isp/2003-July/000793.html=20 and following, further googling turns up more results. HTH =2D -Christoph Sold =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAbILmjGVuYEZ1RPYRAhxOAJ0eo85gEcsQT2C46odVa5bIvvRlHgCgm+BB =46B9L2OxFa0DHq7kk55rt6wo=3D =3DeUnR =2D----END PGP SIGNATURE-----