| Author |
tar: EOF where user reply was expected
|
|
|
| Hi all,
I have a script running a tar backup on RH 8 that spans multiple volumes.
When the first tape is full, the backup requires user input (ie. Enter key)
to continue on with the second tape. Since this is a cron job, there is no
prompt on the console to confirm once the 2nd tape is inserted. Does anyone
know if it is possible to automatically start a job in the console window,
so that user input is accepted? Alternatively, how to detect that a 2nd tape
is inserted and then continue on with the backup?
Thanks
Gerg
| |
| Jeff Schwab 2004-01-23, 5:10 pm |
|
gt wrote:quote:
> Does anyone
> know if it is possible to automatically start a job in the console window,
> so that user input is accepted?
Would "xterm -e" serve your purpose?
| |
| John Kelly 2004-01-23, 5:10 pm |
| Jeff Schwab wrote:quote:
>
>
> gt wrote:
>
>
>
> Would "xterm -e" serve your purpose?
>
How about the tar option -
--new-volume-script F
run script at end of each tape (implies -M)
Specifies a script to run at the end of a volume which could open an
xterm window for example... or any kind of X dialog prompt.
Cheers
JK
| |
|
| Thanks I'll try these options and see
"John Kelly" <jkelly@noemailthanks.com> wrote in message
news:3fdf5ea4$0$25979$65c69314@mercury.nildram.net...quote:
> Jeff Schwab wrote:
>
> How about the tar option -
>
> --new-volume-script F
> run script at end of each tape (implies -M)
>
> Specifies a script to run at the end of a volume which could open an
> xterm window for example... or any kind of X dialog prompt.
>
> Cheers
>
> JK
>
|
|
|
|