RE: Ontape inside a script .bat file
Posted in 1999
Topics: Backup & Restore
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------ =_NextPart_001_01BEFF7D.D02653D0
Content-Type: text/plain
This is a good idea, using a text file to store carraige returns.
However, how does this help the operator swap tapes if the ontape takes
more than one tape? We are using a single tape device (not a jukebox).
Thanks,
Uday
-----Original Message-----
From: Murray Wood [mailto:murray@quanta.co.nz]
Sent: Tuesday, September 14, 1999 8:02 PM
To: informix-list@iiug.org
Subject: RE: Ontape inside a script .bat file
Inside our command file we set the environment and then the following:
c:\\informix\\bin\\ontape -s -L 0 >archive.log < archive.txt
where archive.txt contains 2 (or more) returns.
Murray Wood
-----Original Message-----
From: Tim_Clifton@candle.com [SMTP:Tim_Clifton@candle.com]
Sent: Wednesday, September 15, 1999 9:04 AM
To: informix-list@iiug.org
Subject: Ontape inside a script .bat file
I am calling the ontape utility from a bat file on an NT server. Does
anyone
know how to feed /pass the return key code so that the user does not
have to? I
want to start un-attended backups.
TIA.
tim_clifton@candle.com
------ =_NextPart_001_01BEFF7D.D02653D0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DUS-ASCII">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.1960.3">
<TITLE>RE: Ontape inside a script .bat file</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>This is a good idea, using a text file to store =
carraige returns. However, how does this help the operator swap tapes =
if the ontape takes more than one tape? We are using a single tape =
device (not a jukebox).</FONT></P>
<P><FONT SIZE=3D2>Thanks,</FONT>
</P>
<P><FONT SIZE=3D2>Uday</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Murray Wood [<A =
HREF=3D"mailto:murray@quanta.co.nz" =
TARGET=3D"_blank">mailto:murray@quanta.co.nz</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, September 14, 1999 8:02 PM</FONT>
<BR><FONT SIZE=3D2>To: informix-list@iiug.org</FONT>
<BR><FONT SIZE=3D2>Subject: RE: Ontape inside a script .bat file</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=3D2>Inside our command file we set the environment and =
then the following:</FONT>
</P>
<P><FONT SIZE=3D2>c:\\informix\\bin\\ontape -s -L 0 >archive.log < =
archive.txt</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>where archive.txt contains 2 (or more) =
returns.</FONT>
</P>
<P><FONT SIZE=3D2>Murray Wood</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Tim_Clifton@candle.com =
[SMTP:Tim_Clifton@candle.com]</FONT>
<BR><FONT SIZE=3D2>Sent: Wednesday, September 15, 1999 9:04 =
AM</FONT>
<BR><FONT SIZE=3D2>To: =
informix-list@iiug.org</FONT>
<BR><FONT SIZE=3D2>Subject: =
Ontape inside a script .bat file</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=3D2>I am calling the ontape utility from a bat file on an =
NT server. Does anyone</FONT>
<BR><FONT SIZE=3D2>know how to feed /pass the return key code so that =
the user does not have to? I</FONT>
<BR><FONT SIZE=3D2>want to start un-attended backups.</FONT>
<BR><FONT SIZE=3D2>TIA.</FONT>
<BR><FONT SIZE=3D2>tim_clifton@candle.com</FONT>
</P>
<BR>
</BODY>
</HTML>
------ =_NextPart_001_01BEFF7D.D02653D0--