From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 15:46:16 2004 Return-Path: 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 5C2CE16A4CE for ; Mon, 23 Feb 2004 15:46:16 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD6BE43D1D for ; Mon, 23 Feb 2004 15:46:15 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i1NNioR24698; Mon, 23 Feb 2004 18:44:50 -0500 (EST) From: Jerry McAllister Message-Id: <200402232344.i1NNioR24698@clunix.cl.msu.edu> To: richard@planet-richard.com (Richard Beyer) Date: Mon, 23 Feb 2004 18:44:49 -0500 (EST) In-Reply-To: from "Richard Beyer" at Feb 24, 2004 10:32:01 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: 'FreeBSD Questions List' Subject: Re: backup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2004 23:46:16 -0000 > > We're currently doing a back up of a FreeBSD 4.9 (2) server by plugging a > USB external drive in and then doing > > cp /dev/ad0 /dev/da0 > > This takes about 30 hours, (USB 1). > > Is this the best way to do it, or can someone suggest a better way. We'd > rather not have the server offline while we do it. I would suggest using dump (and restore if you need something recovered) if you can because cp may not preserve everything appropriately. or dump | restore if you are trying to build the file system on to the other disk. I wonder also about your choice of devices, but I don't know how you created them or mounted them. Actually, I would use their mount names rather than devices anyway. Or am I missing something here? Using dump[/restore] won't speed anything up, but it would make sure it is usable later. ////jerry > > Cheers, > > Richard >