From owner-freebsd-questions Tue Feb 19 20:21:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 99EA637B416 for ; Tue, 19 Feb 2002 20:21:09 -0800 (PST) Received: from [212.238.194.207] (helo=mailhost.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 16dOFg-0009rW-00 for freebsd-questions@FreeBSD.ORG; Wed, 20 Feb 2002 04:21:08 +0000 Received: from angel.raggedclown.net (angel.raggedclown.intra [192.168.1.7]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [buffy]) with ESMTP id 452AD13040 for ; Wed, 20 Feb 2002 05:21:08 +0100 (CET) Received: by angel.raggedclown.net (Ragged Clown Host [angel], from userid 6002) id CC12F22590; Wed, 20 Feb 2002 05:21:07 +0100 (CET) Date: Wed, 20 Feb 2002 05:21:07 +0100 From: Cliff Sarginson To: freebsd-questions@FreeBSD.ORG Subject: Re: copy everythin (/) from one machine to remote machine Message-ID: <20020220042107.GB11089@raggedclown.net> References: <002701c1b991$48ec5990$0d00a8c0@alexus> <20020219163857.J48401@blossom.cjclark.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020219163857.J48401@blossom.cjclark.org> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Feb 19, 2002 at 04:38:57PM -0800, Crist J. Clark wrote: > On Tue, Feb 19, 2002 at 05:03:38PM -0500, alexus wrote: > > hello > > > > how would I go about making copy of everything that is on one machine to > > another machine? > > considering that both machines are not on same network and not even > > physically close to each other > > and I want to copy everything from one machine / to another with all > > permissions and every thing > > can I do tar everything one machine and untar it on another? > > A dump(8)/restore(8) is usually the best way to copy a partition. > > # dump -0af - / | ssh remote-machine 'restore -xf -' > > Is always fun. Depends on your exact circumstances. > > > if it's > > possible, then supposedly it'd solve my situation but how would I make that > > other hard drive bootable? > > See fdisk(8) and disklabel(8). Usually something like, > > # fdisk -B ad0 > # disklabel -B ad0s1 > > Will do it. Don't use tar(1) for this purpose. It does not handle special files properly (those in /dev). -- Regards Cliff Sarginson -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message