Discussion:
some questions about Art's utils3_ak to backup logical log to disk
(too old to reply)
joe
2013-06-08 02:35:22 UTC
Permalink
os: redhat 5.x
ids version : 10.uc3

Thanks to Art's tool utils3_ak to backup logical log to disk.
I copy log_full.sh to $INFORMIXDIR/etc and modiy
LTAPEDEV , ALARMPROGRAM according to the instructions.
It work now!
I have 2 questions about it
1. How to do the restore from the whole logical logs
that backup in $INFORMIXDIR/archives which named by
logfile+logid .
2. modify ALARMPROGRAM : alarmprogram.sh
to log_full.sh.
What functions will be lost that in alarmprogram.sh ?

Hopefully can get opinion from Art and will be appreciated.
Art Kagel
2013-06-10 14:45:47 UTC
Permalink
OK, so it's not clear but it looks like you are using IDS v10.00.xc3. In
that version you cannot archive to or restore from a directory name but
have to use a filename, so the script you used from utils3_ak makes sure
that the file path named in LTAPEDEV exists, is empty, and has the correct
privileges then it runs ontape -a and renames the file to a new name that
includes the logical log numbers that it contains.

To restore the logs, you would first restore a server archive of course and
reply 'Y' when it asks if you want to restore logical logs. Ontape will
then prompt you for the first logical log that it needs. You find the log
archive file that contains that logical log, rename or link it to the path
name that is in LTAPEDEV (linking is best so you don't have to name it back
again later just remove the link) and let ontape continue. It will
continue to prompt you for the log following the last one that the file you
last gave it contains and so you again rename/link the next file and so on
until you either run out of logs to restore or you have reached the
point-in-time to which you want to restore the server.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/

Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.
Post by joe
os: redhat 5.x
ids version : 10.uc3
Thanks to Art's tool utils3_ak to backup logical log to disk.
I copy log_full.sh to $INFORMIXDIR/etc and modiy
LTAPEDEV , ALARMPROGRAM according to the instructions.
It work now!
I have 2 questions about it
1. How to do the restore from the whole logical logs
that backup in $INFORMIXDIR/archives which named by
logfile+logid .
2. modify ALARMPROGRAM : alarmprogram.sh
to log_full.sh.
What functions will be lost that in alarmprogram.sh ?
Hopefully can get opinion from Art and will be appreciated.
_______________________________________________
Informix-list mailing list
http://www.iiug.org/mailman/listinfo/informix-list
Loading...