You must configure both TAPEDEV and LTAPEDEV to a value other than the default value of /dev/null for Informix backups and restores to work.
Procedure
-
Edit the following file :
#vi $INFORMIXDIR/etc/$ONCONFIG
-
Change the location in TAPEDEV and LTAPEDEV parameters from /dev/null on Unix computers and NUL on Windows computers to any non-existing directory to which you as an Informix user have full access rights to perform log backups.
Example:
UNIX
TAPEDEV /dev/null LTAPEDEV /dev/nullChange to:
TAPEDEV /dev/tmp0 LTAPEDEV /dev/tmp1Windows
LTAPEDEV NUL
Change to:LTAPEDEV C:\Program Files\IBM\Informix\tape1 -
Start a full backup.