RealHeavyDude
Well-Known Member
OpenEdge 11.3.1 / Solaris SPARC 64Bit
I am trying to come up with a script that produces a "restore hint" for a given database in the way that it tells the one who is executing it, which commands you should execute in which order to be able to restore the database and apply all necessary after image extents. Please don't ask why - I just have to ...
I was just wondering - is somebody else has a better way or thought about it.
Thanks in Advance, RealHeavyDude.
I am trying to come up with a script that produces a "restore hint" for a given database in the way that it tells the one who is executing it, which commands you should execute in which order to be able to restore the database and apply all necessary after image extents. Please don't ask why - I just have to ...
I was just wondering - is somebody else has a better way or thought about it.
- I can easily see in the archival log file of AI archiver daemon which archived extents in which sequence need to be rolled forward. Plus, it is not rocket science to parse that file either.
- But there will also be at least one busy after image extent that has not been archived yet and therefore needs to be saved before the restore is started and rolled foward at the end. I can identify which ones of the "live" extents are busy by looking at their time stamps. I can also try and error rfutil aimage scan against all of them. Nevertheless parsing the output of rfutil aimage scan to get the sequence number is rather tricky. More so as the messages are depending on language settings. Still it is the best I've been able to come up with yet as all other rfutil commands fail when you just have the after image extents and no database.
Thanks in Advance, RealHeavyDude.