Performing an Archive (ontape)
Use
This procedure tells you how to perform an Informix database archive with
ontape .Prerequisites
You have an up-to-date copy of the
ONCONFIG file, which you might need for a restore.Procedure
$ ontape -s
Immediately after you execute this command,
ontape prompts you to specify an archive level. If you wish, you can directly specify the level of the archive on the command line, as in the following example:$ ontape -s -L 0
Depending on the volume of data, an archive can require multiple tapes. After a tape fills,
ontape rewinds the tape, displays the tape number for labeling, and prompts you to mount the next tape, if necessary.A message appears when the archive has finished.
Result
The database is archived. Therefore, you have a copy of database data that can be restored in the event of database failure. Make sure that you
check the tapes.
See also:
Informix documentation