From owner-freebsd-questions Tue Feb 19 16:39: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id A11CB37B400 for ; Tue, 19 Feb 2002 16:38:58 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020220003858.TLAN2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Wed, 20 Feb 2002 00:38:58 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1K0cwL29677; Tue, 19 Feb 2002 16:38:58 -0800 (PST) (envelope-from cjc) Date: Tue, 19 Feb 2002 16:38:57 -0800 From: "Crist J. Clark" To: alexus Cc: freebsd-questions@FreeBSD.ORG Subject: Re: copy everythin (/) from one machine to remote machine Message-ID: <20020219163857.J48401@blossom.cjclark.org> References: <002701c1b991$48ec5990$0d00a8c0@alexus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002701c1b991$48ec5990$0d00a8c0@alexus>; from ml@db.nexgen.com on Tue, Feb 19, 2002 at 05:03:38PM -0500 X-URL: http://people.freebsd.org/~cjc/ 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 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. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message