From owner-freebsd-questions Sun Sep 1 12: 4:51 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 7878F37B400 for ; Sun, 1 Sep 2002 12:04:47 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 462DF43E4A for ; Sun, 1 Sep 2002 12:04:45 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id g81J2qS58726; Sun, 1 Sep 2002 14:02:52 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20020901140251.014b5a00@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 01 Sep 2002 14:02:51 -0500 To: Jerry McAllister , riki@unila.ac.id (Riki Winatha) From: "Jack L. Stone" Subject: Re: directori boot/ Cc: keramida@ceid.upatras.gr (Giorgos Keramidas), freebsd-questions@FreeBSD.ORG In-Reply-To: <200209011824.g81IOQo12713@clunix.cl.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 02:24 PM 9.1.2002 -0400, Jerry McAllister wrote: >> >> btw.. i imagine that...how to clone the FreeBSD system... >> like we clone Micro$oft with norton ghost.. >> >> i got confuse.. how to back up my FreeBSD system.. >> usually.. i just backup with compress the file with tar.gz >> but it didn't backup my system ( FreeBSD ). >> could FreeBSD be backed up with some utility like norton ghost or else ? >> thank's for your advices. > >I don't know about ghost, per se. But for UNIX backup, learn to >use dump(8) and restore(8). With those you write backup and restore >files by file system (partition generally). They can dump to tape >or disk files on another drive or zip drive or whatever. > >Check out: man dump and: man restore. > >Generally for a full backup of a file systems (root (/) and home (/home) >for examples) >to tape do: dump 0af /dev/nrsa0 / > dump 0af /dev/nrsa0 /home >or >to disk file do: dump 0af FULL_FILE_NAME-root / > dump 0af /FULL_FILE_NAME-home /home > >Replace FULL_FILE_NAME with the name of the file to which you want to >write the dump. > >////jerry > >> But, if you want an "image" much like ghost, look at "dd". This will copy the image from HD0 to HD1 for instance, BUT, HD1 must to be equal or larger in size to HD0. You won't be able to use any unused portion if larger..... This would be a typical command for dd: # dd if=/dev/ad0 of=/dev/ad1 bs=8192 You can experiment with the "bs" size. I use 102400 for example and cuts the backup time in half. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message