Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Informix Topics / January 2005

Tip: Looking for answers? Try searching our database.

Automatic ontape

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
arxngos@gmail.com - 27 Jan 2005 15:09 GMT
Hi,

I have informix  9.40.TC4 on Windows 2000 and I would like to automate
the ontape. I have created a batch file as follows:

cd C:\Program Files\Informix

echo ol_ctseu11.cmd

ontape -s -L 0

When I run the batch file it returns the following:

Please mount tape 1 on E:\DBBackup\backup.txt and press Return to
continue ...

Then it waits until I press enter in order to continue. How can I
modify the script so that it starts the backup automatically without
displaying the follwing:

Please mount tape 1 on E:\DBBackup\backup.txt and press Return to
continue ...

Thanks,

Vasilis
Colin Bull - 27 Jan 2005 16:33 GMT


> I have informix  9.40.TC4 on Windows 2000 and I would like to
> automate the ontape. I have created a batch file as follows:
[quoted text clipped - 16 lines]
> Please mount tape 1 on E:\DBBackup\backup.txt and press
> Return to continue ...

echo '0\n\n' | ontape -s

Works for me. But beware, if your data spans more than one tape, it is
not this simple.

Colin Bull

_______________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email
Security System.
_______________________________________________________________________

sending to informix-list
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.