Avamar:保存ロック(ガバナンス モード)が有効になっている場合にバックアップを削除する方法

Summary: AvamarおよびData Domain統合ソリューションで保存ロック(ガバナンス モード)が有効になっている場合のバックアップの削除。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

保存ロック(ガバナンス モード)が有効になっている場合にバックアップを削除するには、次の手順をこの特定の順序で実行する必要があります。

Warning: AvamarとData Domain(DD)の間でコマンドが交互に表示されます。コマンドを実行する場所に細心の注意を払ってください。
 
注意:これらの手順に正確に従わないと、保護されたデータのロックが解除されたり、データ ロスが発生したりする可能性があります。
 
 

ステップ1 - Avamar:

Avamar Utility Nodeにadminとしてログインします。

次のコマンドを使用して、クライアントへのパスを決定します。

avmgr getl --path=<domain path to client> | grep -i '<client name>'
 

Example:

avmgr getl --path=/clients/physical | grep -i 'testclientA'
1  testclientA.company.com      location: d057f520d4f5ab5b26c2b754714c9f21f50255c2      pswd: c1015019cf10175d15984d7cc9c833754f3cff3e
 

場所をメモしておきます。これはクライアントID (CID)とも呼ばれます。

この情報は、後の手順でData Domain上のフル パスを見つけるために必要になります。

ステップ2 - Avamar:

クライアント全体、またはクライアントからすべてのバックアップを削除するには、ステップ3に進みます。

単一のバックアップ、複数の(すべてではない)バックアップを削除するには、次のコマンドを実行して、そのAvamar Clientのバックアップのリストを取得します。

avmgr getb --path=<full path to client> --format=xml
 

Example:

avmgr getb --path=/clients/physical/testclientA.company.com --format=xml
1  Request succeeded
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<backuplist version="3.0">
  <backuplistrec flags="19922945" labelnum="488" label="1800-phy-file_srv_phy-1576465200020" created="1576466965" roothash="23f00d475c58c8ff95b5f1d298e01a1d4a632f72" totalbytes="4775684341760.00" ispresentbytes="0.00" pidnum="3001" percentnew="1" expires="0" created_prectime="0x1d5b3c104506658" partial="0" retentiontype="daily,weekly" backuptype="Full" ddrindex="1" locked="0" direct_restore="1" tier="0" appconsistent="not_available" sealstate="COMPLETE" imu_locked="false" imu_locked_weeks="0" force_no_imulock="false"/>
  <backuplistrec flags="19922945" labelnum="481" label="1800-phy-file_srv_phy-1575860400016" created="1575862022" roothash="895eae1260310a6e27316d29e8d52fdff562cb76" totalbytes="4779966201856.00" ispresentbytes="0.00" pidnum="3001" percentnew="1" expires="0" created_prectime="0x1d5ae4085e092a0" partial="0" retentiontype="daily,weekly" backuptype="Full" ddrindex="1" locked="0" direct_restore="1" tier="0" appconsistent="not_available" sealstate="COMPLETE" imu_locked="false" imu_locked_weeks="0" force_no_imulock="false"/>
  <backuplistrec flags="24117249" labelnum="474" label="1800-phy-file_srv_phy-1575255600018" created="1575257228" roothash="fadf73cd92ce3d97d4e5223c13255aca49716631" totalbytes="4774015008768.00" ispresentbytes="0.00" pidnum="3001" percentnew="1" expires="0" created_prectime="0x1d5a8c060960b04" partial="0" retentiontype="daily,weekly,monthly" backuptype="Full" ddrindex="1" locked="0" direct_restore="1" tier="0" appconsistent="not_available" sealstate="COMPLETE" imu_locked="false" imu_locked_weeks="0" force_no_imulock="false"/>
  <backuplistrec flags="19922945" labelnum="467" label="1800-phy-file_srv_phy-1574650800019" created="1574652417" roothash="afafe01c88300c5376a4042c4323d066a8c49cc2" totalbytes="4766955470848.00" ispresentbytes="0.00" pidnum="3001" percentnew="1" expires="0" created_prectime="0x1d5a3403120cb82" partial="0" retentiontype="daily,weekly" backuptype="Full" ddrindex="1" locked="0" direct_restore="1" tier="0" appconsistent="not_available" sealstate="COMPLETE" imu_locked="false" imu_locked_weeks="0" force_no_imulock="false"/>
</backuplist>
 
created_prectime" の値または値。これは、バックアップの作成時刻、つまりBID(およびバックアップがData Domainサーバー上でどのように封印されるか)です。 
      • 値は常に「0x」の後にタイムスタンプが続く(例:「0x1d5a8c060960b04」)として表示されます。 
      • 「0x」に続く値は、この出力から必要な値です(この例では「1d5a8c060960b04」になります)。 
 

手順3 - Data Domain:

Data Domainで、sysadminとしてログインします。

次のコマンドを実行して、 mtreesが使用するJava Runtime Environmentへのパスを定義します。

mtree list
 

Example:

mtree list
Name                           Pre-Comp (GiB)   Status
----------------------------   --------------   -------
/data/col1/avamar-1234567890           9080.1   RW/RLGE
/data/col1/backup                         0.0   RW
----------------------------   --------------   -------
 D    : Deleted
 Q    : Quota Defined
 RO   : Read Only
 RW   : Read Write
 RD   : Replication Destination
 IRH  : Retention-Lock Indefinite Retention Hold Enabled
 ARL  : Automatic-Retention-Lock Enabled
 RLGE : Retention-Lock Governance Enabled
 RLGD : Retention-Lock Governance Disabled
 RLCE : Retention-Lock Compliance Enabled
 M    : Mobile
 m    : Migratable
 

Avamarをメモしておきます mtreeの詳細を確認してください。「 mtree この手順の後半で保存ロックを元に戻すには、名前が必要です。

ステップ4 - Avamar:

Avamarを確認します mtree 次のコマンドを実行して名前を付けます。

avmaint hfscreate 
 

出力例:

1234567890
 

次に、文字列「/data/col1/avamar-

この例では、結果の mtree 名前は /data/col1/avamar-1234567890で、 ステップ3の出力と一致します。

手順5 - Data Domain:

  • デル・テクノロジーズAvamarテクニカル サポート チーム メンバー:

次の手順については、「内部メモ」セクションを参照してください。

 

  • その他すべて:

次のコマンドを実行して、Data Domain上のすべての保存ロックされたファイルのレポートを生成します。
(これは、削除するクライアントとバックアップを見つけるために使用されます)。

mtree retention-lock report generate retention-details mtrees /data/col1/<avamar-xxxxxxxx> output-file <filename.txt>

(ここで、「mtree」は以前に決定されたAvamar mtreeです(この例では/data/col1/avamar-1234567890)

Example:

mtree retention-lock report generate retention-details mtrees /data/col1/avamar-1234567890 output-file dd_retentionlock.txt
 

これにより、すべてのロックされたファイルを含むレポートが生成されます。

出力は /ddvar/log/debug/retention-lock-reports/ ディレクトリー (またはコマンドの実行時に指定されたディレクトリー)。 

ステップ1で収集したクライアントID (CID)を使用して、生成された出力ファイル(この例ではdd_retentionlock.txt)からData Domain上のバックアップ パスを見つけます。

手順6 - Data Domain:

パスが見つかったら、次のコマンドを実行してバックアップ ロックを元に戻します(削除できるようにします)。

mtree retention-lock revert <path to client/backup>
 

コマンドは、復元プロセスを完了するためのsysadminパスワードの入力を求めます。

削除対象に応じて、コマンドは若干異なります。

すべてのバックアップまたはクライアントを削除する場合、このコマンドではステップ1のクライアントID (CID)を使用します。

Example:

mtree retention-lock revert /data/col1/avamar-1234567890/cur/d057f520d4f5ab5b26c2b754714c9f21f50255c2
The 'mtree retention-lock revert' command removes retention-lock on this path thereby making it unprotected.
        Are you sure? (yes|no) [no]: yes

ok, proceeding.

Please enter sysadmin password to confirm 'mtree retention-lock revert':
 

個々のバックアップを削除する場合、コマンドはステップ1のクライアントID (CID)とステップ4のバックアップIDの両方で構成されます(入力は大文字にする必要があります)。

Example:

mtree retention-lock revert /data/col1/avamar-1234567890/cur/d057f520d4f5ab5b26c2b754714c9f21f50255c2/1D5A8C060960B04
The 'mtree retention-lock revert' command removes retention-lock on this path thereby making it unprotected.
        Are you sure? (yes|no) [no]: yes

ok, proceeding.

Please enter sysadmin password to confirm 'mtree retention-lock revert':
 

削除されるバックアップごとに、個別のコマンドを実行する必要があります。

たとえば、2つのバックアップを削除するには、次のようにします。

mtree retention-lock revert /data/col1/avamar-1234567890/cur/d057f520d4f5ab5b26c2b754714c9f21f50255c2/1D5A8C060960B04
mtree retention-lock revert /data/col1/avamar-1234567890/cur/d057f520d4f5ab5b26c2b754714c9f21f50255c2/1D5A3403120cB82
 

ステップ7 - Avamar:

ロックの復元が完了したら、Avamarグリッドで次のコマンドを実行して、ガバナンス モードを一時的に無効にします。

avmaint config governancemode=false --ava
 

ステップ8 - Avamar(UI、AUI、またはMCCLI):

ガバナンス モードが無効になると、Avamar Webインターフェイス(AUI)、管理コンソール(MC UI)、または mccliの詳細を確認してください。

ステップ9 - Avamar:

クライアントまたはバックアップを削除した後、次のコマンドを実行して、Avamarグリッドでガバナンス モードを再度有効にします。

avmaint config governancemode=true --ava

Affected Products

Avamar, Avamar, Avamar Server
Article Properties
Article Number: 000227152
Article Type: How To
Last Modified: 10 Nov 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.