ヘッダーをスキップ
Oracle Secure Backupリファレンス
リリース10.1
B28441-02
  目次
目次
索引
索引

戻る
戻る
 
次へ
次へ
 

rpyjob

用途

rpyjobコマンドは、入力または支援をリクエストするジョブに応答する場合に使用します。このタイプのジョブを表示するには、lsjobコマンドで--inputrequestを指定します。ジョブからの入力リクエスト内容を確認するには、catxcrコマンドを実行します。


関連項目:

関連コマンドについては、「ジョブ用コマンド」を参照してください。

前提条件

別ユーザーのジョブのプロンプトに応答するには、所有者を問わないジョブの変更(modify any job, regardless of its owner)権を備えている必要があります。自身のジョブのプロンプトに応答するには、ユーザーが所有するジョブの変更(modify any jobs owned by user)権を備えている必要があります。

構文

rpyjob::=

rpy•job  --reply/-r text job-id ...

意味

--reply/-r text

プロンプトに対する応答テキストを指定します。空白が含まれる場合は、応答を引用符で囲みます。

job-id ...

応答を送信するジョブのIDを指定します。

例2-145では、lsjobを使用して支援をリクエストしているジョブを表示し、その後で、catxcrを実行してジョブadmin/7.1の記録を表示しています。

記録では、バックアップ・ジョブに使用可能なテープがライブラリに存在しないことが示されています。catxcrの実行後に[Enter]キーを押すと、obtoolプロンプトに戻ります。

例2-145 支援をリクエストしているジョブに関する情報の表示

ob> lsjob --inputrequest --long
admin/7.1:
    Type:                   backup brhost2
    Level:                  full
    Family:                 (null)
    Scheduled time:         none
    State:                  running since 2005/05/09.12:38
    Priority:               100
    Privileged op:          no
    Run on host:            brhost2
    Attempts:               1

ob> catxcr --tail 12 admin/7.1
End of tape has been reached.  Please wait while I rewind and unload the tape.
The Volume ID of the next tape to be written is VOL000005.
The tape has been unloaded.
 obtar: couldn't perform auto-swap - can't find usable volume in library (OB device
 mgr)   Enter a command from the following list:
       load <n>     .. load the tape from element <n> into the drive
       unload <n>   .. unload the tape from the drive into element <n>
       help         .. display other commands to modify drive's database
       go           .. to use the tape you selected
       quit         .. to give up and abort this backup or restore
:

例2-146では、新しいボリュームをライブラリに挿入し、その後で、rpyjobを2つのオプションload 3およびgoで使用して応答しています。lsjobに対する--inputrequestの指定では、NULL応答が生成されています。これは、入力をリクエストするジョブが存在しないことを意味しています。

例2-146 支援をリクエストしているジョブに関する情報の表示

ob> insertvol --library lib2 unlabeled 3
ob> rpyjob --reply "load 3" admin/7.1
ob> rpyjob --reply "go" admin/7.1
ob> lsjob --inputrequest
ob>