From owner-freebsd-questions Thu Nov 21 15:44:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B64C37B404 for ; Thu, 21 Nov 2002 15:44:58 -0800 (PST) Received: from HAL9000.homeunix.com (12-232-220-15.client.attbi.com [12.232.220.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2466543E8A for ; Thu, 21 Nov 2002 15:44:57 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id gALNium9006999; Thu, 21 Nov 2002 15:44:56 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id gALNiqZe006998; Thu, 21 Nov 2002 15:44:52 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Thu, 21 Nov 2002 15:44:52 -0800 From: David Schultz To: ertank@softhome.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Disk copying Message-ID: <20021121234452.GJ6062@HAL9000.homeunix.com> Mail-Followup-To: ertank@softhome.net, freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thus spake 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