* remote dumps started via cron
@ 1990-03-27 11:49 Wolfgang Barth
1990-04-02 7:53 ` Jan Stevens
0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Barth @ 1990-03-27 11:49 UTC (permalink / raw)
Hello world,
we have the following problem:
We've a VAXStation3100 and some DECStations3100 (running under Ultrix V3.1/
UWS2.1) and want to hold a copy of some drive partitions of the VAX on
a DECStation drive. We need this because the SCSI bus of the VAX is
already populated to its limit.
We tried to do this with:
dump 0uf - filesystem | rsh dec "(cd /backup ; restore xf - )"
This resulted in an 'open("/dev/tty"): no such device or address" error.
The same problem exists, if we tried to run dump,restore from a batch
job that is started by cron.
Has anybody experiences with this problem, maybe some solutions ?
Regards,
Wolfgang Barth
p539wob@mpirbn.mpifr-bonn.mpg.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: remote dumps started via cron
1990-03-27 11:49 remote dumps started via cron Wolfgang Barth
@ 1990-04-02 7:53 ` Jan Stevens
0 siblings, 0 replies; 2+ messages in thread
From: Jan Stevens @ 1990-04-02 7:53 UTC (permalink / raw)
Instead of what all the other answers told, the problem is not the
remote shell but the restore program itself. It simply means :
restore must be used interactively.
I am using a special system which does make dumps with use of the
crontab file. To restore these dumps I discovered this "feature" of
restore. Let me give you an example :
There will be 2 systems, the source and the target.
A dump has been made from a filesystem of the source to a file on the
target. Using the same type of commands as the crontab discussed in the
previous article you could restore the partition using one of the
following methods :
1) from the target : cat dumpfile | rsh source restore -rf -
2) from the source : rsh source cat dumpfile | restore -rf -
(I left out the home directory for the restore to simplify the example)
Normally both commands would work but because restore needs a tty to
write its diagnostics to, only option 2 works.
I hope this answers your question.
Jan Stevens, Unix Support Engineer
Philips CFT, Building SAQ, room 718
e-mail : jan@philtis.cft.philis.nl
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1990-04-02 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1990-03-27 11:49 remote dumps started via cron Wolfgang Barth
1990-04-02 7:53 ` Jan Stevens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox