Eduardo:
In your ONCONFIG file the ALARMPROGRAM parameter should be set to alarmprogram.sh.
If you edit whichever file is set there, there will be a line:
BACKUPLOGS=N
Just change the "N" to "Y". If you are using ontape -s to make archives, then you also need to change this line:
BACKUP_CMD="onbar -b -l"
to
BACKUP_CMD="ontape -a"
But if you are using "onbar -b ..." to archive the server then it should be set to "onbar -b -l" as above.
Once you make these changes and save the file, whenever a logical log file completes it will automatically be backed up by the ALARMPROGRAM script and you will see lines like these in your message log (onstat -m):
07/22/2025 13:33:33 Logical Log 3626 Complete, timestamp: 0x11c1ff62e.
07/22/2025 13:33:34 Logical Log 3626 - Backup Started
07/22/2025 13:33:35 Logical Log 3626 - Backup Completed
Although your timestamps may look different depending on what version of Informix you are running and what you have the MSG_DATE parameter set to in later releases.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com------------------------------