This topic contains steps for Windows® and UNIX®.
You must run this command on the machine where the Informix server resides.
> CCM_HOME\informix\setenv.cmd
To back up the logical log files continuously, type:
> ontape /c
Use this type of backup because it requires a tape device to be available at all times.
To back up the logical log files explicitly, type:
> ontape /a
Clearly label the tapes so that later when you restore the Informix server, the appropriate tapes can be identified easily.
An example of good labeling follows:
Date: April 20, 2006 Server: servername Type: logical log backup Log numbers: 3 - 5 Tape sequence number: 1
root# su - informix Password: *****
If you did not set up CCM_HOME and PATH for user informix during installation, set these environment variables now. See Setting environment variables for UNIX.
$ INFORMIXDIR=$CCM_HOME/informix; export INFORMIXDIR $ PATH=$CCM_HOME/bin:$INFORMIXDIR/bin:$PATH; export PATH $ ONCONFIG=$servername; export ONCONFIG $ INFORMIXSERVER=$servername; export INFORMIXSERVER
$ ontape -c
$ ontape -a
Label the tapes clearly so that later, when you restore the database server, you can identify the appropriate tapes easily. An example of good labeling is as follows:
Date: April 20, 2006 Server: servername Type: logical log backup Log numbers: 3 - 5 Tape sequence number: 1