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