Path: utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: rmallett@ccs.carleton.ca (Rick Mallett) Newsgroups: comp.sys.sun Subject: Problem running sun restore in the background. Keywords: No Digest Subjects during Flush Message-ID: <3872@brchh104.bnr.ca> Date: 27 Jun 91 20:22:00 GMT Sender: news@brchh104.bnr.ca Organization: Sunspots, Flush Mode Lines: 13 Approved: sun-spots@rice.edu X-Original-Date: Sat, 8 Jun 1991 14:41:48 GMT I was rewriting some backup scripts with a view to automating the restore process, when I ran into the following problem. It seems that sun restore insists on prompting for the "next volume" and whether or not to set the "owner/mode" on '.' and it aborts if it detects that it is receiving data from a pipe. Every time I attempted to run the command: rsh exabyte_machine "dd if=/dev/nrst0 bs=51200" | \ restore xvf /dev/nrst0 \ /etc/sendmail.cf \ /etc/aliases \ /etc/aliases.dir \