*BSD News Article 83763


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.sprintlink.net!news-peer.sprintlink.net!EU.net!sun4nl!charon.cvi.ns.nl!Utrecht.NL.net!hacom.nl!gamp.hacom.nl!usenet
From: G. Albert Mietus <albert@gamp.hacom.nl>
Subject: Re: backing up filesystems
X-Newsreader: Gnus v5.0.10
Sender: albert@beowulf.gamp.hacom.nl
Nntp-Posting-Host: localhost
Lines: 29
Organization: We aren't! Should we, then it's SW, Education and Advice.
Message-ID: <87wwv7z2l8.fsf@beowulf.gamp.hacom.nl>
References: <57e77c$m1@quince.nac.ac.za>
In-Reply-To: fabian@srvnac1.nac.ac.za's message of 26 Nov 1996 07:45:48 GMT
Date: Wed, 27 Nov 1996 20:48:35 GMT


Fabian Leite writes:
> The system software and inn software are on a 850Meg ide harddrive.
 
> I want to replace the 850Meg with a 2gig scsi harddrive.
 
> Is there  an easy way to backup all the filesystems(/,/usr,/var) on the 
> 850Meg hardrive to a 2gig (scsi) harddrive and boot from the 2gig.

The are lots of easy methods, depending on your exact situation:

When you have only one disk, just add the second one, make a
 filsesystem on it (man newfs) and copy:
         cd <old> ; tar -cf - . | cd <new> ; tar -xf - 

When a fast network is availble, copy your 850Mb to another system
(see above), remove the old disk with the new one and copy back.

When a tape is availbe: tar it to tape, replace, "untar"

Same with floppies, but you need 400 floppies and a lot of time ..
(Use tar to write upto 2Mb to a normal 1.44 flop)

Good luck.

P.S. In all cases, you should first stop your news serverses, the
system should be "frozen" when doing such a copy, or you will loss
info
 GAM