From owner-freebsd-questions Sun Jan 4 16:07:51 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA08999 for questions-outgoing; Sun, 4 Jan 1998 16:07:51 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mailc.telia.com (root@mailc.telia.com [194.22.190.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA08978 for ; Sun, 4 Jan 1998 16:07:41 -0800 (PST) (envelope-from girgen@partitur.se) Received: from d1o62.telia.com (root@d1o62.telia.com [195.198.198.241]) by mailc.telia.com (8.8.8/8.8.5) with ESMTP id BAA07536; Mon, 5 Jan 1998 01:07:34 +0100 (MET) Received: from partitur.se (t8o62p36.telia.com [195.198.199.216]) by d1o62.telia.com (8.8.5/8.8.5) with ESMTP id BAA00678; Mon, 5 Jan 1998 01:07:33 +0100 (MET) Message-ID: <34B02432.5736459F@partitur.se> Date: Mon, 05 Jan 1998 01:07:14 +0100 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: Leif Neland CC: freebsd-questions@FreeBSD.ORG Subject: Re: Good backup hardware???? References: <7c8_9801041233@swimsuit.swimsuit.roskildebc.dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Leif Neland wrote: > > 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? > Well, no problem unless dump gets trouble and needs help... :-) > 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? Interesting. How would I go about? To do this? Regards, Palle