Alexander:
You didn't specify your version so I can only assume it is a relatively current one, v12 or v14.
On your second question: If you change your LTAPEDEV to be a directory or file system mount point ontape will create a new separate file for each logical log file. BTW, if you have it set to a file name, that file only contains a single logical log, not 2-3 days of logs. Ontape overwrites the file if it already exists, it does not append! You should have BACKUP_CMD set as follows in your alarmprogram.sh so that it uses LTAPEDEV to specify where to place the log files:
BACKUP_CMD="ontape -a -d"
The directory set in LTAPEDEV then will contain files that look like this:
I don't have an answer to your first question.
Art
------------------------------
Art S. Kagel, President and Principal Consultant
ASK Database Management Corp.
www.askdbmgt.com------------------------------
Original Message:
Sent: Wed November 30, 2022 01:38 AM
From: Alexander Ivanov
Subject: Backup from InformixHQ and continous log backup
Hello.
Actually I have two questions.
1). I set up a backup from informixHQ. Is there a way to send me an email when the backup is in progress or if it fails? I have configured Informix to email me from various alerts, but I can't find the backup alert.
2).In my current configuration after log file is full alarmprogram is backup it. But backup file 1GB and it comes to full after 2-3 days of work. But I want backup it each hour. I think I can use onmode -l and ontape -a -d each hour. But it not looks fine.
As another way I know about ontape -c. But i not sure how it will be work. When i start it it create backup curent log file from start or from time when i started ontape -c? How to automate use ontape-c after Informix reboot? If i can copy this file during it still in process?
Or in my case it will be better use small log files?
------------------------------
Alexander Ivanov
------------------------------
#Informix