Networker

Re: [Networker] Automated scanner using jukebox

2006-05-03 02:42:32
Subject: Re: [Networker] Automated scanner using jukebox
From: Peter Viertel <Peter.Viertel AT MACQUARIE DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 3 May 2006 16:39:03 +1000
Expect is what I would use,

Have you tried something like this?

echo Yes | scanner .......


I am also pretty sure you would need to mmrecov into a version of the
server before 6.1.1. and then run upgrade to 6.1.3 then one to 7.1.3.

I read somewhere that they have fixed the scanner prompt issue in 7.3,
so that might be a way to go   (usual 7.3 warnings and mention of 7.3.1
coming soon...).

-----Original Message-----
From: Legato NetWorker discussion [mailto:NETWORKER AT listserv.temple DOT edu]
On Behalf Of Matthew Robert
Sent: Wednesday, 3 May 2006 9:40 AM
To: NETWORKER AT listserv.temple DOT edu
Subject: Re: [Networker] Automated scanner using jukebox

This email is to be read subject to the disclaimer below.

Hi Darren,

Unfortunately I am limited by the Windows 2k3 command line...

I have tried doing an mmrecov however it fails to find a bootstrap
saveset on tapes (I know from a bootstrap printout that there is in fact
a valid bootstrap on the tape I tried) I suspect this is because I was
using a current version of legato (7.1.3) and the tapes were from legato
5.X.X Does anyone on here know if later version of Legato are backwards
compatible when doing mmrecovers?

Cheers,
Matt






Darren Dunham <ddunham AT TAOS DOT COM>
Sent by: Legato NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>
03/05/2006 09:25 AM
Please respond to
Legato NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>; Please
respond to Darren Dunham <ddunham AT TAOS DOT COM> All email is logged and may
be reviewed - Refer policy FP206

To
NETWORKER AT LISTSERV.TEMPLE DOT EDU
cc

Subject
Re: [Networker] Automated scanner using jukebox






> I can write a basic batch file that loads and tape without mounting, 
> executes scanner and unloads it, but the problem I have is that 
> scanner pauses at the end with a prompt to put the next tape in or 
> exit. I want scanner to exit once finished so the script can unload 
> the tape and continue working, there doesnt appear to be any command 
> line switch to make scanner terminate once finished.
> 
> To my mind, this is a massive oversight on Legatos behalf - scanning
tapes 
> is a tedious process at best, using an autoloader is the obvious
answer.

I haven't tried automating it.  Have you tried running it with no
connection to the shell?  Does it run or just exit out?

scanner -blah...  < /dev/null > /tmp/scanner.log 2>&1

If that doesn't work, then 'expect' would allow you to automate it
externally.  More annoying than working entirely within scanner, but
pretty dependable.

-- 
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu
if you have any problems
wit this list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or via RSS at
http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER





--------------------
NOTICE - This communication contains information which is confidential
and the copyright of Ernst & Young or a third party. 

If you are not the intended recipient of this communication please
delete and destroy all copies and telephone Ernst & Young on 1800 655
717 immediately. If you are the intended recipient of this communication
you should not copy, disclose  or distribute this communication without
the authority of Ernst & Young.

Any views expressed in this Communication are those of the individual
sender, except where the sender specifically states them to be the views
of Ernst & Young.

Except as required at law, Ernst & Young does not represent, warrant
and/or guarantee that the integrity of this communication has been
maintained nor that the communication is free of errors, virus,
interception or interference.

Liability limited by a scheme approved under Professional Standards
Legislation.
--------------------


If this communication is a "commercial electronic message" (as defined
in the Spam Act 2003) and you do not wish to receive communications such
as this, please forward this communication to unsubscribe AT au.ey DOT com

To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems wit this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or via RSS at
http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER



NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the
body of the email. Please write to networker-request AT listserv.temple DOT edu 
if you have any problems
wit this list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER