From owner-freebsd-questions Sun Jan 4 05:59:01 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA28832 for questions-outgoing; Sun, 4 Jan 1998 05:59:01 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mail.netcetera.dk (root@sleipner.netcetera.dk [194.192.207.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA28807 for ; Sun, 4 Jan 1998 05:58:57 -0800 (PST) (envelope-from leifn@image.dk) Received: (from uucp@localhost) by mail.netcetera.dk (8.8.8/8.8.8) with UUCP id OAA11409 for freebsd-questions@freebsd.org; Sun, 4 Jan 1998 14:54:58 +0100 Received: by swimsuit.swimsuit.roskildebc.dk (0.99.970109) id AA08251; 04 Jan 98 12:33:46 +0100 From: leifn@image.dk (Leif Neland) Date: 04 Jan 98 12:11:37 +0100 Subject: Re: Good backup hardware???? Message-ID: <7c8_9801041233@swimsuit.swimsuit.roskildebc.dk> Organization: Fidonet: UNIX-sysadm søger job To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 03 Jan 98 16:53:14 Palle Girgensohn wrote regarding Re: Good backup hardware???? PG> Hello Jason, PG> PG> I'm in a similar situation. What happens for you is that the PG> tape has reached the end (my guess; I get write errors when I PG> reach end-of-tapes), and is trying to tell you this on the tty; PG> "fopen on /dev/tty" means that it cannot talk to a console, PG> probably because you're running it from cron, or detached the PG> dump process from the tty. PG> PG> AFAIK, you can't run dump from cron, at least not directly. (I'd PG> like to hear from you folks! How do you make automated dumps?) how about dump -options 2>&1 >/var/log/dumplog, or some variation of this? PG> Dump needs user interaction when an error or end-of-tape occurs, PG> or it will get suspended or fail. Hence, it must be started from PG> a console. I guess one could make a script that runs on the PG> console and sleeps during the day...? Or maybe let cron attach PG> the dump command to a console (better, but how,and is it PG> possible?). Is it perhaps possible to run it instead of getty on a non-active virtual terminal? Leif Neland leifn@image.dk --- |Fidonet: Leif Neland 2:234/49 |Internet: leifn@image.dk