The basic syntax for backing up informix is
ontape -s -L0 <tape device>
So if your tape device is /dev/rmt0, your command will be
ontape -s -L0 /dev/rmt0
----
If you want it to run a backup every night, use unix crontab to set a specific time to run the command above.
----