Elastic Index Snapshot fails to delete when running Remove-EVIndexSnapShot

book

Article ID: 100060843

calendar_today

Updated On:

Description

Error Message

Remove-EVIndexSnapshot : The index snapshot '' of the Enterprise Vault index
server '' cannot be deleted because the index snapshot repository
'' is in read-only mode.
At line:1 char:73
+ ... tory -OnlyInUse:$false | Get-EVIndexSnapshot | Remove-EVIndexSnapshot
+                                                    ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Symantec.Enterp...EVIndexSnapshot:EVIndexSnapshot) [Remove-EVIndexSna
   pshot], IndexSnapshotManagementException
    + FullyQualifiedErrorId : IndexSnapshotManagementSnapshotDeletionReadOnlyException,Symantec.EnterpriseVault.PowerS
   hell.AdminAPI.RemoveEVIndexSnapshot

Cause

This error is seen when the EV Index Snapshot Location is in backup mode.  

Resolution

Clear the backup mode flag from the EV Index snapshot location by running Clear-EVIndexSnapshotLocationBackupMode -Path in the Enterprise Vault Management Shell.

Issue/Introduction

Elastic Index Snapshot deletion fails while running Remove-EVIndexSnapShot on old snapshots.