From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1c56af0ab69a40e0 X-Google-Attributes: gidfee84,public X-Google-Thread: 1020c6,1c56af0ab69a40e0 X-Google-Attributes: gid1020c6,public X-Google-Thread: f678f,1c56af0ab69a40e0 X-Google-Attributes: gidf678f,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: testing dump validity Date: 1998/09/10 Message-ID: <6t9hg4$9c3$1@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 389888925 Distribution: world References: <35F6584A.5D442313@uea.ac.uk> <35F71D9C.2A984F27@home.com> Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.admin,comp.unix.osf.misc,comp.unix.osf.osf1 In article <35F71D9C.2A984F27@home.com>, "Rev. Don Kool" writes: >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. Not really. Dump writes a directory of the contents of the archive at the beginning with the data after. It would be easy for the few blocks of the backup, and the thus the directory to be fine, but the rest be garbage. If you want to be sure the whole thing can be read, read the whole thing. > -- Alan Rollow alan@nabeth.cxo.dec.com