Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "Emil Visdal" <emil.visdal@sni.no>
Subject: Re: testing dump validity
Date: 1998/09/10	[thread overview]
Message-ID: <6t7ruo$rt7$1@news.mch.sbs.de> (raw)
In-Reply-To: 35F71D9C.2A984F27@home.com

Rev. Don Kool skrev i meldingen <35F71D9C.2A984F27@home.com>...
>Bob FIndlay wrote:
>>
>> Hello,
>> Does anyone have any recommendations on how to test the validity of a
>> dump file?  On VMS I would have performed a restore to the NUL device
>> and then checked for any errors, but I can't see how to do that with DEC
>> unix's restore.
>
> Do the restore (restore or vrestore) with the "-i" option (for
>interactive).  Then you can "cd" and "ls" around the archive much
>like with "ftp".  If you just get to the interactive prompt, chances
>are that your backup is good.

WARNING:
The problem with this is that the media could be corrupt in the data area of
dump (and vdump), when you do an "restore -i" you just go to the index of
the dump. To check that the media and backup is OK, you should do a
"restore -t" first and after that a "dd" to /dev/null or faster a "mt fsf n"
where n is one more than the numbers of dump on the tape. "dd" is probably
safer than "mt"....

I have seen that "restore -t" works fine, but in the middle of the dump the
media was corrupt and it was not possible to restore the rest of that dump
area. In this case the tapedrive was bad, but only after writing about 1 GB.
This occurs on all of the tapes, but "restore -t" said it was OK....

^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Emil Visdal
These are my opinions not SNI's






  reply	other threads:[~1998-09-10  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-09  4:00 testing dump validity Bob FIndlay
1998-09-10  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1998-09-10  4:00 ` Rev. Don Kool
1998-09-10  4:00   ` Emil Visdal [this message]
1998-09-10  4:00   ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1998-09-10  4:00 ` Thomas Leitner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox