home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!usc!rpi!batcomputer!lynx@msc.cornell.edu!jaguar.msc.cornell.edu!rick
- From: rick@jaguar.msc.cornell.edu (Rick Cochran)
- Subject: Re: How do I verify a backup tape
- Message-ID: <1992Dec18.212412.9714@msc.cornell.edu>
- Keywords: Verify Tape
- Sender: news@msc.cornell.edu
- Organization: Cornell Materials Science Center
- References: <1992Dec8.083842.3142@pollux.lu.se>
- Date: Fri, 18 Dec 1992 21:24:12 GMT
- Lines: 58
-
- In article <1992Dec8.083842.3142@pollux.lu.se>, gs@balder.tf1.lu.se (Goran Svensson) writes:
- |> I have a problem that have been bugging for long, and I believe a solution
- |> is of general interest.
- |>
- |> When I have written a backup to tape, I want to verify that the data is
- |> good and valid. But how ??? I would like to do it for cpio, tar and/or backup.
- |> Also for all kind of medias (150MB, 525MB, 2.3GB and DAT).
- |>
- |> A restore -T or a tar -tv does not verify the actual files, only that the
- |> media is readable and that the table of contents is good. I want to recompute
- |> all checksums and verify them (tar does have a checksum, right ??). There
- |> is no need to compare the tape with the actual datafiles (but I would not
- |> cry if that could be done).
- |>
- |> backup -xv > /dev/null and tar -xv > /dev/null does not do the job.
- |>
- |> I have asked IBM Sweden, and received a big "It can't be done". No one at
- |> IBM Sweden knows how to do it. But I do not accept that I can not
- |> verify my backup tapes.
- |>
- |> There must be someone out there who wants to make sure that his/hers tapes
- |> are good, and have a self written program, a free-ware or a pay-ware to
- |> do the job.
- |>
- |> Help needed
- |>
- |> Goran Svensson
-
- Gee. When I mentioned this problem a year or two ago I got nary a peep in
- reply. I concluded that I was the only one on the face of the earth who
- really cares about my users' data.
-
- As far as I know, the only place to get what you want is from Convex Computer
- Corp. which has a "-V" option on their version of "restore". This checks
- the tape for readability and data consistancy. For example, if you are
- using "dump" on an active filesystem, "restore -V" will let you know whenever
- there is an inconsistancy between the index and the actual data on the tape.
- "restore -V" DOES NOT check the tape data against the disk data. Thus,
- the behavior of "restore -V" is the behaviour which you and I (and apparently
- nobody else except other Convex customers) want.
-
- When I suggested to Defect Support that it would be a good idea to
- have this kind of option on AIX "restore" (and not difficult to
- implement either), I was sent in search of a non-existant form. I
- gave up.
-
- I would like to clarify a small detail. If you use "backup by name"
- ("backup -i") instead of "backup by inode", then a "restore -T" WILL
- actually verify the integrity of the data on the tape, since "backup
- by name" does not generate an index the way "backup by inode" does.
-
- However, this also means that you can't use "interactive restore" with
- backups done "by name" - a major pain.
-
- --
- |Rick Cochran 607-255-7223 rick@msc.cornell.edu|
- |Cornell Materials Science Center rick@crnlmsc2.bitnet|
- |E20 Clark Hall, Ithaca, N.Y. 14853 cornell!msc.cornell.edu!rick|
-