Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!Teknowledge.COM!unix!hplabs!hp-pcd!hp-sdd!ncr-sd!ncrlnk!usglnk!pmday_2!steve From: steve@pmday_2.Dayton.NCR.COM (Steve Bridges) Newsgroups: comp.unix.questions Subject: Re: Tape backups and Disk management Message-ID: <876@pmday_2.Dayton.NCR.COM> Date: 24 Feb 90 15:05:55 GMT References: <9782@batcomputer.tn.cornell.edu> Reply-To: steve@pmday_2.Dayton.NCR.COM (Steve Bridges) Organization: NCR Corporation - USDPG Product Marketing (Dayton) Lines: 24 When our file systems get really fragmented, we backup up the file system with cpio to an 8mm tape drive (it can hold up to 2GB) with cpio using the following commands, e.g. cd /usr/acct find . -print | cpio -ocvB > /dev/rmt/64yy Then after the backup is done cd /usr/acct (THIS IS A MOST IMPORTANT STEP) rm -r * cpio -idmuvcB < /dev/rmt/64yy This will put it all back on disk, unfragemented. We use dd quite a lot. Most of our use of dd is to byte-swap tapes where the utility that created them stores bytes on the opposite order of what we expecte them to be in. -- Steve Bridges | NCR - USDPG Product Marketing and Support OLS Steve.Bridges@Dayton.NCR.COM | Phone:(513)-445-4182 622-4182 (Voice Plus) ..!ncrlnk!usglnk!pmday_2!steve | AOPA #916233 ..!uunet!ncrlnk!usglnk!pmday_2!steve| PP-ASEL, AMEL