Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jan 1998 01:07:14 +0100
From:      Palle Girgensohn <girgen@partitur.se>
To:        Leif Neland <leifn@image.dk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Good backup hardware????
Message-ID:  <34B02432.5736459F@partitur.se>
References:  <7c8_9801041233@swimsuit.swimsuit.roskildebc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34B02432.5736459F>