Restoring a logical log
Posted in 2008
We have some scripts which parse the output of onlog -n/-l and
produces user-friendly output.
We've been given a log file from backup which has the header:
[xxxxxxl@xxxxxxx] 43$ hd llog.631510 | less
00000000 ff ff ff ff ff ff 00 00 00 0a 00 09 00 9d 07 5f
|..............._|
00000010 00 00 00 00 00 00 00 00 6c 6f 67 20 62 61 63 6b
|........log back|
00000020 75 70 20 74 61 70 65 49 42 4d 20 49 6e 66 6f 72 |up
tapeIBM Infor|
00000030 6d 69 78 20 44 79 6e 61 6d 69 63 20 53 65 72 76 |mix
Dynamic Serv|
00000040 65 72 20 56 65 72 73 69 6f 6e 20 31 30 2e 30 30 |er
Version 10.00|
00000050 2e 46 43 35 57 35 20 20 4d 6f 6e 20 4a 61 6e 20 |.FC5W5
Mon Jan |
00000060 32 31 20 32 30 3a 30 36 3a 33 39 20 32 30 30 38 |21
20:06:39 2008|
00000070 69 6e 66 6f 72 6d 69 78 3f ff ff ff ff 2f 6e 65 |
informix?..../ne|
00000080 74 62 61 63 6b 75 70 2f 62 6c 75 65 2f 6c 6c 6f |tbackup/
blue/llo|
00000090 67 00 40 00 00 00 1f ff fc 00 00 00 01 00 00 00 |
g.@.............|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
Does anyone know how I can convert one file to the other (assuming I
have access to the same db environment etc).
TIA
Ian