From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,46891f661bbe9676 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-08 14:28:28 PST Path: bga.com!news.sprintlink.net!uunet!in1.uu.net!dziuxsolim.rutgers.edu!igor.rutgers.edu!tenebris.rutgers.edu!not-for-mail From: armhold@tenebris.rutgers.edu (George Armhold) Newsgroups: comp.unix.osf.osf1 Subject: Re: vdump/vrestore broken Date: 8 Mar 1995 15:14:23 -0500 Organization: HPCD @ Rutgers University Message-ID: <3jl36v$2lu@tenebris.rutgers.edu> References: <3jdei9$nf@tenebris.rutgers.edu: <3jf7o6$4o9@ulowell.uml.edu: NNTP-Posting-Host: tenebris.rutgers.edu Keywords: OSF/1 3.0B oneill@sable.cs.uml.edu (Brian 'Doc' O'Neill) writes: :In article <3jdei9$nf@tenebris.rutgers.edu:, armhold@tenebris.rutgers.edu (Geor ge Armhold) writes: :|: :|:The "-i" option for performing interactive restores using vrestore :|:seems to be broken under 3.0B: :|: :|:: magnus:4]/backup/foo#vrestore -i -f - < dump.out :|:: vrestore: Date of the vdump save-set: Sun Mar 5 17:29:21 1995 :|:: (/) :|:: (/) unknown command :|: :|:It just scrolls on and on with "(/) unknown command". Does anyone :|:know if there is a workaround for this, or if it has been fixed in :|:3.2? Non-interactive restores work just fine. :Uhhh, how do you expect to do an interactive restore if you are redirecting :input from a file??? You CAN'T do that...unless the program opens a separate :input channel to the terminal, which vrestore doesn't appear to do... Because it *should* re-open the input terminal. This works just fine for regular dump & restore: : tenebris:3]/backup/foo#restore -i -f - < ../dump.out : restore : ls : .: : .Xauthority .xsession-errors etc/ tmp_mnt/ : .rhosts backup/ slocal/ : .rhosts~ dev/ tmp/ : : restore > My reason for redirecting input rather than opening the file explicitly is because we run dump/restore via a rather complicated Perl program that dumps & restores via a rsh stream. i.e. rather than reading from a tape device we're reading from a rsh data pipe. vrestore is just as broken when opening the file explicitly (vrestore -i -f filename). -George -- High Performance Computing and Design group Internet: armhold@klinzhai.rutgers.edu UUCP: {backbone}!rutgers!klinzhai!armhold BITNET: armhold@PISCES.BITNET