Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 1997 21:48:27 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        dkelly@HiWAAY.net
Cc:        justin@ashworth.org, questions@FreeBSD.ORG
Subject:   Re: Disk copying 
Message-ID:  <Pine.BSF.3.96.970915214234.3096I-100000@localhost>
In-Reply-To: <199709141002.FAA25803@nospam.hiwaay.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 14 Sep 1997 dkelly@HiWAAY.net wrote:

> Justin Ashworth writes:
> >
> > What is the easiest and most reliable way to copy my data from one hard
> > drive to another?

> Unless the two drives are identical, or at least the 2nd is larger, you
> could use "dd if=/dev/rsd0 of=rsd1 bs=1024k" or similar. Need to do more
> checking on the exact device to use for the copy, you want a "whole 
> device" device, not one working out of slices.

I just realized that I documented the safe way to do this in the disk
formatting tutorial (now at http://www.freebsd.org/tutorials/diskformat
-- update your URLs!).    

It's basically a tar c | tar x type operation except it calls pax
directly.  (When I did it using dump/restore I didn't keep the command
lines, but the pax style was submitted to me and is equivalent.)

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major
Spam routed to /dev/null by Procmail    | Death to Cyberpromo




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970915214234.3096I-100000>