Unix administration - tar: EOF where user reply was expected

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2004 > tar: EOF where user reply was expected





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author tar: EOF where user reply was expected
gt

2004-01-23, 5:10 pm

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

gt

2004-01-23, 5:11 pm

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
>




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com