Avamar: 보존 잠금(거버넌스 모드)이 활성화된 경우 백업을 삭제하는 방법

Summary: Avamar 및 Data Domain 통합 솔루션에서 Retention Lock(거버넌스 모드)이 활성화된 경우 백업 삭제

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

보존 잠금(거버넌스 모드)이 활성화된 상태에서 백업을 삭제하려면 다음 단계를 특정 순서로 수행해야 합니다.

경고: 명령은 Avamar와 DD(Data Domain) 간에 번갈아 사용됩니다. 명령을 실행해야 하는 위치에 주의를 기울이십시오.
 
주의: 이러한 단계를 정확하게 따르지 않으면 보호된 데이터의 잠금이 해제되거나 데이터가 손실될 수 있습니다.
 
 

Step 1 - Avamar:

Avamar Utility Node에 관리자로 로그인합니다.

다음 명령을 사용하여 클라이언트의 경로를 확인합니다.

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

예:

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

위치를 기록해 둡니다. 이를 CID(클라이언트 ID)라고도 합니다.

이 정보는 이후 단계에서 Data Domain의 전체 경로를 찾는 데 필요합니다.

2단계 - Avamar:

클라이언트 전체를 삭제하거나 클라이언트에서 모든 백업을 삭제하려면 3단계로 이동합니다.

단일 백업, 여러 백업(전부는 아님)을 삭제하려면 다음 명령을 실행하여 해당 Avamar Client에 대한 백업 목록을 검색합니다.

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

예:

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:

mtree list
 

예:

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:

  • Dell Technologies Avamar 기술 지원 팀원:

다음 단계는 "내부 정보" 섹션을 참조하십시오.

 

  • 다른 모든 사람:

다음 명령을 실행하여 Data Domain
의 모든 보존 잠금 설정된 파일에 대한 보고서를 생성합니다.(삭제할 클라이언트 및 백업을 찾는 데 사용됨).

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

(여기서 "mtrees"는 이전에 결정된 Avamar mtree입니다(이 예: /data/col1/avamar-1234567890)

예:

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

이렇게 하면 잠긴 모든 파일이 포함된 보고서가 생성됩니다.

출력은 다음으로 전송됩니다. /ddvar/log/debug/retention-lock-reports/ 디렉토리(또는 명령이 실행될 때 지정된 디렉토리)입니다. 

1단계에서 수집한 CID(Client ID)를 사용하고 생성된 출력 파일(이 예에서는 dd_retentionlock.txt)에서 Data Domain의 백업 경로를 찾습니다.

6단계 - Data Domain:

경로를 찾으면 다음 명령을 실행하여 백업 잠금을 되돌립니다(삭제할 수 있음).

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

이 명령은 되돌리기 프로세스를 완료하기 위해 sysadmin 암호를 입력하라는 메시지를 표시합니다.

삭제되는 항목에 따라 명령이 약간 다릅니다.

모든 백업 또는 클라이언트를 삭제하는 경우 명령은 1단계의 CID(Client ID)를 사용합니다.

예:

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단계의 CID(Client ID)와 4단계의 백업 ID(대문자로 입력해야 함)로 구성됩니다.

예:

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':
 

삭제되는 각 개별 백업에 대해 별도의 명령을 실행해야 합니다.

예를 들어 두 백업을 삭제하려면 다음을 수행합니다.

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):

거버넌스 모드가 비활성화되면 AUI(Avamar Web Interface), MC UI(Management Console) 또는 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.