From owner-freebsd-isp Wed Oct 4 22:38:11 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail-secure.toplink.net (mail-secure.toplink.net [195.2.171.5]) by hub.freebsd.org (Postfix) with ESMTP id CC14B37B503 for ; Wed, 4 Oct 2000 22:38:07 -0700 (PDT) Received: from localhost.toplink.net (mail-scan.toplink.net [195.2.171.141]) by mail-secure.toplink.net (8.9.3/8.9.3) with ESMTP id HAA17747; Thu, 5 Oct 2000 07:38:06 +0200 (CEST) Received: from mail-secure.toplink.net (mail-scan [127.0.0.1]) by localhost.toplink.net (8.9.3/8.9.3) with ESMTP id HAA07972; Thu, 5 Oct 2000 07:15:43 +0200 Received: from babylon.toplink.net (babylon.toplink.net [195.2.171.90]) by mail-secure.toplink.net (8.9.3/8.9.3) with ESMTP id HAA17736; Thu, 5 Oct 2000 07:38:01 +0200 (CEST) Received: from localhost (ck@localhost) by babylon.toplink.net (8.9.3/8.9.3) with ESMTP id HAA47403; Thu, 5 Oct 2000 07:37:57 +0200 (CEST) Date: Thu, 5 Oct 2000 07:37:57 +0200 (CEST) From: Christian Kratzer To: Steve Reid Cc: Presence , InvictaNet Customer Support , Freebsd-ISP Subject: Re: move home dirs In-Reply-To: <20001004143806.A36544@grok> Message-ID: X-NCC-RegID: de.toplink X-Spammer-Kill-Ratio: 75% X-Jihad: Will hunt down all cases of Spam and Net abuse. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, On Wed, 4 Oct 2000, Steve Reid wrote: > On Tue, Oct 03, 2000 at 03:01:00PM -0700, Presence wrote: > > (cd /mnt/old/usr/home/ ; tar -cvlf - .)|(cd /usr/home/; tar xpf -) > > It moved everything across perfectly, including .dot files and > > permissions. > > I did something similar recently. What really impressed me: tar handled > hard links. I guess it keeps track of inode numbers that it has already > seen. > > Very good to know, if you want to copy a filesystem with (too many) > hard links. then of course you could use a dump restore combination which would do the right thing out of the box. So if you are moving the home partition of a machine you might just as well run dump over a ssh connection through a pipe into a local restore. Should be the fastest and at the same time most reliable way to transfer the data. Greetings Christian Kratzer Toplink -- TopLink Internet Services GmbH ck@171.2.195.in-addr.arpa Christian Kratzer http://www.toplink.net/ Phone: +49 7032 2701-0 Fax: +49 7032 2701-19 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message