Recovering to a log mark
Just as you can use
BMC AMI Recovery Manager
and
to recover to a timestamp or log point, you can use them to recover to a log mark.
In BMC AMI Recovery Manager in the foreground, see the following figure, the Recovery Type Selection panel provides the 7. Logmark selection.
ARMRC03C === Recovery Type Selection - RDAXXX2 TEST ============
Command ===> _________________________________________________________________
Recover to . . . . . 6 1. Current 2. Image copy 3. Quiesce
4. Common point (select from list) 5. Specific Logpoint
6. Timestamp 7. Logmark
Full copy only . . 2 1. Yes 2. No (for option 2)
Relative point . . 0_ 0=Last to 99=99th previous (for options 2,3 or 7)
Points between . . 2012 - 09 - 05 16 : 44 (YYYY - MM - DD HH : MM
and. . . . . . . 2012 - 09 - 06 16 : 44 for option 4)
To Timestamp . . . ____ - __ - __ __ : __ : __ : __ (Inflights resolved)
To Logpoint. . . . ____________________ (option 5)
To Logmark . . . . ________________________________________ (option 7)
Resolve Inflights. _ 1. Yes 2. No (for options 5 and 7)
Log Only . . . . . . 2 1. Yes 2. No
Backout. . . . . . . 3 1. Yes 2. No 3. Auto (RECOVER PLUS only)
Analyze. . . . . . . 1 1. Yes 2. No 3. Only (RECOVER PLUS only)
Check unchanged. . . 2 1. Yes 2. No (exclude unchanged from recovery)
Simulate recovery. . 2 1. Yes 2. No
Recover clones only. 2 1. Yes 2. No
Command ===> _________________________________________________________________
Recover to . . . . . 6 1. Current 2. Image copy 3. Quiesce
4. Common point (select from list) 5. Specific Logpoint
6. Timestamp 7. Logmark
Full copy only . . 2 1. Yes 2. No (for option 2)
Relative point . . 0_ 0=Last to 99=99th previous (for options 2,3 or 7)
Points between . . 2012 - 09 - 05 16 : 44 (YYYY - MM - DD HH : MM
and. . . . . . . 2012 - 09 - 06 16 : 44 for option 4)
To Timestamp . . . ____ - __ - __ __ : __ : __ : __ (Inflights resolved)
To Logpoint. . . . ____________________ (option 5)
To Logmark . . . . ________________________________________ (option 7)
Resolve Inflights. _ 1. Yes 2. No (for options 5 and 7)
Log Only . . . . . . 2 1. Yes 2. No
Backout. . . . . . . 3 1. Yes 2. No 3. Auto (RECOVER PLUS only)
Analyze. . . . . . . 1 1. Yes 2. No 3. Only (RECOVER PLUS only)
Check unchanged. . . 2 1. Yes 2. No (exclude unchanged from recovery)
Simulate recovery. . 2 1. Yes 2. No
Recover clones only. 2 1. Yes 2. No
For BMC AMI Recovery Manager in the background, see the following figure, the Recovery Type Selection panel provides the 8. Logmark selection.
ARMGJ02B ============= Batch Object Set JCL Generation Options =====================
Command ===> _________________________________________________________________
Log Only . . . . . . 2 1. Yes 2. No
Sitetype . . . . . . 1 1. LOCAL 2. RECOVERY
JCL type . . . . . . 1 1. LOCAL 2. DR
Check unchanged. . . 2 1. Yes 2. No (exclude unchanged from recovery)
ObjectSet syntax . . 1 1. Yes 2. No (for RECOVER PLUS only)
Analyze. . . . . . . 1 1. Yes 2. No 3. Only (for RECOVER PLUS only)
Simulate recovery. . 2 1. Yes 2. No (for RECOVER PLUS only)
Backout. . . . . . . 3 1. Yes 2. No 3. Auto (Auto for RECOVER PLUS only)
Recover clones only. 2 1. Yes 2. No
Command ===> _________________________________________________________________
Log Only . . . . . . 2 1. Yes 2. No
Sitetype . . . . . . 1 1. LOCAL 2. RECOVERY
JCL type . . . . . . 1 1. LOCAL 2. DR
Check unchanged. . . 2 1. Yes 2. No (exclude unchanged from recovery)
ObjectSet syntax . . 1 1. Yes 2. No (for RECOVER PLUS only)
Analyze. . . . . . . 1 1. Yes 2. No 3. Only (for RECOVER PLUS only)
Simulate recovery. . 2 1. Yes 2. No (for RECOVER PLUS only)
Backout. . . . . . . 3 1. Yes 2. No 3. Auto (Auto for RECOVER PLUS only)
Recover clones only. 2 1. Yes 2. No
For more information, see the BMC AMI Recovery Manager for Db2 documentation.
In order to invoke the inflight resolution, you should also enter 1 (Yes) for Resolve Inflights.
provides syntax to support log marks with relative and absolute generation numbers on the OPTIONS command with LOGPOINT LOGMARK logMarkName (logMarkGeneration)and on the RECOVER command with TOLOGPOINT LOGMARK logMarkName (logMarkGeneration). For more information, see the BMC AMI Recover for Db2 documentation.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*