Script to backup the Server to disk
### Check for valid backup device, prevents accidentally overwriting
set `grep "^TAPEDEV" $INFORMIXDIR/etc/$ONCONFIG`
if [ "$2" != "/u3/backup/online1.bak" ]
echo "Invalid TAPEDEV $2"
echo "Archive to TAPEDEV $2"
## Start ontape and respond to prompts - the following spacing is key
## There must be a 0 for the level followed by blank line for the
## the response to the prompt.
## Only read the last 5 lines to prevent filling up your log when errors