Data Moverコマンド ラインで増分コピー ジョブを有効にするには、XMLタグenable_incremental_restoreを追加し、<log_to_event_table> xml tagの後で「TRUE」に設定します。
<dsa_options>タグの下にはいくつかのパラメータがありますが、それらはUNSPECIFIEDのままにする必要があります。(これらのパラメータをいつ適用するかについては、制限事項と注意点およびDELTA実行エラーのトラブルシューティングのセクションを参照してください)。
| パラメータ名 | 必須 | 説明 |
|---|---|---|
| ir_allow_write | いいえ | 増分復元が有効になっている場合に使用されます。増分復元後にオブジェクトの書き込みを許可します。有効な値は、UNSPECIFIED、TRUE、またはFALSEです。 |
| ir_execution_type | いいえ | 増分復元が有効になっている場合に使用されます。増分復元の実行タイプ。有効な値はUNSPECIFIEDまたはFULLです。 |
次の例は、DSA増分コピー ジョブでXMLに追加されたすべてのパラメータを示しています。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<dmCreate xmlns="http://schemas.teradata.com/dataMover/v2009" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.teradata.com/unity/DataMover.xsd">
<source_tdpid>sourceSys</source_tdpid>
<source_user>source_user</source_user>
<source_password>source_password</source_password>
<target_tdpid>targetSys</target_tdpid>
<target_user>target_user</target_user>
<target_password>target_password</target_password>
<use_userid_pool>false</use_userid_pool>
<overwrite_existing_objects>TRUE</overwrite_existing_objects>
<freeze_job_steps>UNSPECIFIED</freeze_job_steps>
<force_utility>DSA</force_utility>
<compare_ddl>UNSPECIFIED</compare_ddl>
<log_level>99</log_level>
<online_archive>UNSPECIFIED</online_archive>
<log_to_event_table>tmsmevent</log_to_event_table
<enable_incremental_restore>TRUE</enable_incremental_restore>
<dsa_options>
<ir_allow_write>UNSPECIFIED</ir_allow_write>
<ir_execution_type>UNSPECIFIED</ir_execution_type>
</dsa_options>
<db_client_encryption>UNSPECIFIED</db_client_encryption>
<database selection="unselected">
<name>db1</name>
<table selection="included">
<name>tb1</name>
</table>
</database>
</dmCreate>