Tape backups and Disk management
Steve Bridges
steve at pmday_2.Dayton.NCR.COM
Sun Feb 25 02:05:55 AEST 1990
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 at 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
More information about the Comp.unix.questions
mailing list