Skip site navigation (1)Skip section navigation (2)
Date:      04 Jan 98 12:11:37 +0100
From:      leifn@image.dk (Leif Neland)
To:        freebsd-questions@freebsd.org
Subject:   Re: Good backup hardware????
Message-ID:  <7c8_9801041233@swimsuit.swimsuit.roskildebc.dk>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7c8_9801041233>