Date: Tue, 19 Feb 2002 16:38:57 -0800 From: "Crist J. Clark" <cjc@FreeBSD.ORG> To: alexus <ml@db.nexgen.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: copy everythin (/) from one machine to remote machine Message-ID: <20020219163857.J48401@blossom.cjclark.org> In-Reply-To: <002701c1b991$48ec5990$0d00a8c0@alexus>; from ml@db.nexgen.com on Tue, Feb 19, 2002 at 05:03:38PM -0500 References: <002701c1b991$48ec5990$0d00a8c0@alexus>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020219163857.J48401>