TORBA or TOLOGPOINT specification
For more information about using TORBA or TOLOGPOINT with table spaces and indexes, see Additional-RECOVER-INDEX-and-RECOVER-INDEXSPACE-limitations.
TORBA or TOLOGPOINT
You can use TORBA or TOLOGPOINT interchangeably, regardless of the version of Db2 that you are using. For a non-data-sharing system, the recovery point must be specified as an RBA. For a data sharing system, the recovery point must be specified as an LRSN.
A TOLOGPOINT recovery returns a space to a point that reflects all activity on the space up to and includes a log record at the log point specified. Any log record or activity higher than TOLOGPOINT is no longer reflected in the space but might be reinstated by a subsequent TOLOGPOINT recovery.
Option | Description | ||
---|---|---|---|
TORBA LASTQUIESCE (relativeGenerationNumber) or TOLOGPOINT LASTQUIESCE (relativeGenerationNumber) | Use TORBA LASTQUIESCE or TOLOGPOINT LASTQUIESCE to recover to the most recent quiesce point registered in SYSIBM.SYSCOPY for the table space being recovered. For index recovery, the most recent quiesce of the table space is used. Optionally, you can add a relative generation number in parentheses to indicate the quiesce to use. A relative generation number of (0) uses the most recent image copy. For example, TOLOGPOINT LASTQUIESCE (-1) indicates the use of the quiesce before the most recent quiesce. If you are recovering multiple table spaces in a single RECOVER TABLESPACE command statement, all of the table spaces must have a common last quiesce point. However, if you are using multiple RECOVER TABLESPACE command statements to recover multiple table spaces, each table space can have a different last quiesce point. The same is true for index recovery with RECOVER INDEX or RECOVER INDEXSPACE. LASTQUIESCE can be abbreviated as LASTQ. | ||
TORBA LASTCOMMONQ or TOLOGPOINT LASTCOMMONQ | Use TORBA LASTCOMMONQ or TOLOGPOINT LASTCOMMONQ to recover a set of table spaces and indexes to the most recent common quiesce point registered in SYSIBM.SYSCOPY. Index recoveries are based on the common quiesce point of the owning table space. If no common quiesce point exists for all table spaces and indexes specified, an error message is issued. If you use this option when only one table space or index is recovered, the effect is exactly the same as using TORBA LASTQUIESCE. You can use TORBA LASTCOMMONQ or TOLOGPOINT LASTCOMMONQ with RECOVER INDEX (ALL) or when multiple index space specifications exist in one command statement. | ||
TORBA LASTARCHQ or TOLOGPOINT LASTARCHQ | Use TORBA LASTARCHQ or TOLOGPOINT LASTARCHQ to recover to the log point of the last ARCHIVE LOG MODE(QUIESCE) command issued for the Db2 subsystem. When you use this option, BMC AMI Recover issues a message indicating the date and time of the ARCHIVE LOG MODE(QUIESCE) command used. | ||
TORBA LASTSHUTDOWN or TOLOGPOINT LASTSHUTDOWN | Use TORBA LASTSHUTDOWN or TOLOGPOINT LASTSHUTDOWN to recover to the log point of the last normal system shutdown. When you use this option, BMC AMI Recover issues a message indicating the date and time of the last successful system shutdown. You cannot use the LASTSHUTDOWN keyword to recover to the log point of an abnormal Db2 termination. When you use this keyword, ensure that the table spaces and indexes were not in an exception status at the shutdown. | ||
TORBA LOGMARK logMarkName (logMarkGeneration) or TOLOGPOINT LOGMARK logMarkName (logMarkGeneration) | Use TORBA LOGMARK logMarkName or TOLOGPOINT LOGMARK logMarkName to recover to a prior point in time identified by a log mark that was created in BMC AMI Log Master. Optionally, you can add a log mark generation number in parentheses, (logMarkGeneration). If you do not specify a log mark generation, BMC AMI Recover uses the most recent version of the log mark. You can use one of the following ways to specify the log mark generation:
When you create the log mark, you can specify if BMC AMI Log Master should create a quiesce point. You can also specify that BMC AMI Log Master set a log mark at a quiet point or a non-quiet point. If you know that the log mark is at a quiesce or a quiet point for the space or spaces that you are recovering, use this option to perform a point-in-time recovery. If the log mark is not at a quiet point, you should use a timestamp recovery using the option RECOVERYPOINT LOGMARK logMarkName. | ||
TORBA X'logPoint' or TOLOGPOINT X'logPoint' | Use TORBA X'logPoint' or TOLOGPOINT X'logPoint' to recover to a prior point in time identified by the log point, 'logPoint'. Except with BACKOUT, only log records with starting log points less than or equal to 'logPoint' are used by BMC AMI Recover. 'logPoint' is a string of up to twelve hexadecimal digits.
|