backup logical log to directory automatically
Posted in 2011
Topics: Backup & Restore, Logging & Checkpoints
ids version : 11.5 os: redhat as4
I follow ids backup and restore manual 's instruction :
1. Set the LTAPEDEV parameter to a existing directory.
2. Set the ALARMPROGRAM parameter to the full path for log_full.sh on
UNIX or log_full.bat on Windows.
3. Change the backup program in the ALARMPROGRAM parameter from onbar
-b -l to ontape -a -y.
4. Restart the database server
But it did'nt work.
I issue 'ontape -a' , logical log will be backup to the directory
that
assigned in LTAPEDEV.
:o)
1. Ensure :
ALARMPROGRAM $INFORMIXDIR/etc/alarmprogram.sh
2. Ensure alarmprogram.sh has :
BACKUPLOGS=Y
BACKUP_CMD="ontape -a"
Works for me :o)
You modified ALARMPROGRAM to log_full.sh and changed alarmprogram.sh - i.e. log_full.sh will be called instead of alarmprogram.sh
On 9月19日, 下午9時15分, Jon Ritson <JonRit...@sky.com> wrote:
> :o)
>
> 1. Ensure :
>
> ALARMPROGRAM $INFORMIXDIR/etc/alarmprogram.sh
>
> 2. Ensure alarmprogram.sh has :
>
> BACKUPLOGS=Y
> BACKUP_CMD="ontape -a"
>
> Works for me :o)
>
> You modified ALARMPROGRAM to log_full.sh and changed alarmprogram.sh - i.e. log_full.sh will be called instead of alarmprogram.sh
I follow your instruction , It still not work!
After restarting the server, run ontape -c. Then the "ontape -a" will
work. At least, that's what works for me.
I follow Vega's instruction , It work now! Thanks all of you!