Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 15:44:52 -0800
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        ertank@softhome.net
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Disk copying
Message-ID:  <20021121234452.GJ6062@HAL9000.homeunix.com>
In-Reply-To: <courier.3DDC95A0.000041BE@softhome.net>
References:  <courier.3DDC95A0.000041BE@softhome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake ertank@softhome.net <ertank@softhome.net>:
> I want to backup my disk with all of its contents. Exactly, I want to copy 
> it completely to another disk. 
> 
> I have only one freebsd partition and several slices on my disk. I want to 
> copy all the data to another bigger disk preserving my user and group 
> settings. 

Are the disks the same size/geometry?  If so:

	dd if=/dev/olddisk of=/dev/newdisk bs=32k

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?20021121234452.GJ6062>