dbTalk Databases Forums  

backup logical log to directory automatically

comp.databases.informix comp.databases.informix


Discuss backup logical log to directory automatically in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
joe
 
Posts: n/a

Default backup logical log to directory automatically - 09-19-2011 , 06:26 AM






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.

Reply With Quote
  #2  
Old   
Jon Ritson
 
Posts: n/a

Default Re: backup logical log to directory automatically - 09-19-2011 , 08:15 AM






)

1. Ensure :

ALARMPROGRAM $INFORMIXDIR/etc/alarmprogram.sh

2. Ensure alarmprogram.sh has :

BACKUPLOGS=Y
BACKUP_CMD="ontape -a"

Works for me )

You modified ALARMPROGRAM to log_full.sh and changed alarmprogram.sh - i.e. log_full.sh will be called instead of alarmprogram.sh

Reply With Quote
  #3  
Old   
joe
 
Posts: n/a

Default Re: backup logical log to directory automatically - 09-20-2011 , 01:45 AM



On 9月19日, 下午9時15分, Jon Ritson <JonRit... (AT) sky (DOT) com> wrote:
Quote:
)

1. Ensure :

ALARMPROGRAM $INFORMIXDIR/etc/alarmprogram.sh

2. Ensure alarmprogram.sh has :

BACKUPLOGS=Y
BACKUP_CMD="ontape -a"

Works for me )

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!

Reply With Quote
  #4  
Old   
Hyun-Ju Vega
 
Posts: n/a

Default Re: backup logical log to directory automatically - 09-20-2011 , 11:51 AM



Hi,

To automatically backup logical logs using the ontape backup to
directory feature:

1) In the ONCONFIG,

ALARMPROGRAM $INFORMIXDIR/etc/alarmprogram.sh


2) Modify alarmprogram.sh script :

BACKUPLOGS=Y
BACKUP_CMD="ontape -a -d"

This will direct ontape log backups to proceed without interactive prompts.


Hyun-Ju Vega

Reply With Quote
  #5  
Old   
Gabrielle and Nick Catechists
 
Posts: n/a

Default Re: backup logical log to directory automatically - 09-21-2011 , 08:05 AM



After restarting the server, run ontape -c. Then the "ontape -a" will
work. At least, that's what works for me.

Reply With Quote
  #6  
Old   
Nick
 
Posts: n/a

Default Re: backup logical log to directory automatically - 09-21-2011 , 08:11 AM



After restarting the server, run ontape -c. Then the "ontape -a" will
work. At least, that's what works for me.

Reply With Quote
  #7  
Old   
Nick
 
Posts: n/a

Default Re: backup logical log to directory automatically - 09-21-2011 , 08:16 AM



After restarting the server, run ontape -c. Then the "ontape -a" will
work. At least, that's what works for me.

Reply With Quote
  #8  
Old   
joe
 
Posts: n/a

Default Re: backup logical log to directory automatically - 09-21-2011 , 08:46 PM



I follow Vega's instruction , It work now!
Thanks all of you!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.