From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,1c56af0ab69a40e0 X-Google-Attributes: gid1020c6,public X-Google-Thread: fee84,1c56af0ab69a40e0 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,1c56af0ab69a40e0 X-Google-Attributes: gidf678f,public From: "Emil Visdal" Subject: Re: testing dump validity Date: 1998/09/10 Message-ID: <6t7ruo$rt7$1@news.mch.sbs.de>#1/1 X-Deja-AN: 389659901 References: <35F6584A.5D442313@uea.ac.uk> <35F71D9C.2A984F27@home.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Siemens Inc. Newsgroups: comp.unix.admin,comp.unix.osf.misc,comp.unix.osf.osf1 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