AKL
14 years agoLevel 6
Unable to Delete Archives
Hello
We are trying to delete orphaned archives from our environment and have hit a hurdle.
Environment: Enterprise vault 9.0.1, SQL 2005 SP2, Centera - Basic Mode.
Settings: 2 Retention categories - 1 being used for all archives, another modified by me for this specific purpose, both have "Prevent archives from deletion" Unchecked, they are'nt locked. Both inherit expiry from site level. Difference being the one in production has retention of forever and one I modified has retention of 1 day.
Site properties have Process vault stores set to "Never" on storage archives and "Users can delete items" is not enabled/checked.
Issue: We are unable to delete archives, DTRace lines from Storage Delete Component being:
16340 23:13:32.019 [248] (StorageDelete) <8848> EV:M CVault::DeleteSaveset (Exit) |The deletion of the item is not currently permitted. Either the item is on hold, or its retention category does not allow deletions, or a compliance device retention period prevents it from being deleted. [0xc0041a57] |
16341 23:13:32.019 [248] (StorageDelete) <8848> EV:M CStoreAccessor::DeleteItem (Exit) |The deletion of the item is not currently permitted. Either the item is on hold, or its retention category does not allow deletions, or a compliance device retention period prevents it from being deleted. [0xc0041a57] |
16342 23:13:32.019 [248] (StorageDelete) <8848> EV:L CDeleteVault::DeleteSavesets Information: Saveset [entryId = 122CDFD541AB40A495A7AD08D77FD630] can't be deleted as it is on hold.
Troubleshooting done: Since these archives had retention which is in production (named Business for example) and they do not have mailbox/AD account associated with it - so I was unable to figure a way to assign these accounts to a separate provisioning group.
1. Changed the saveset retention categories using SQL Query:
use EVVaultStore01
update View_saveset_archive_vault
set retentioncategoryidentity = '5'
from View_saveset_archive_vault ss
Inner Join enterprisevaultdirectory.dbo.archiveview av on av.vaultentryid = ss.archivepointid
where ss.RetentionCategoryIdentity = '2' AND av.ArchiveName = Donald Duck'
But the DTrace still points them to the old retention category (Business):
16418 23:13:32.534 [248] (StorageDelete) <8848> EV:L CVault::IsDeletePermitted|Retention Category: Business|ONHOLD: No
16419 23:13:32.534 [248] (StorageDelete) <8848> EV:L CVault::ReadPartitionEntry (Entry) |
16420 23:13:32.534 [248] (StorageDelete) <8848> EV:M CVault::ReadPartitionEntry|Id: 0
2. Changed Retention properties on vault store partition from All Centera mode to Never.
3. We do not use Discovery / Compliance accelarator - so they are out of picture.
4. No saveset is present in dbo.Hold table on SQL - so not sure how Enterprise vault is identifying it as a hold item.
Not sure if I am too eager to see it working and should wait for retention category change to prevail OR should I see immediate change in DTRace after running SQL query?
On side note - I attempted to delete a dozen of large archives before changing category so not sure if that compounds.
I am believing as soon as Saveset identifies the new retention category - it should allow to delete them right?
Attached is DTRace log for more review if needed.
References made so far:
Thanks a lot in advance for any assistance
- Search your DTrace for the words compliance and governance, if you have textpad just search and bookmark all results and paste to a new document, it should give a true or false statement mentioning the mode used for the centera Also if you change the retcats in the DB, that will allow for expiry and deletion from a logical standpoint, but it will not retroactively update the CDF's on the centera itself, and the same when you set to Never that will only affect new items being stored What you may want to do is use EVSVR in interactive mode to retrieve the CDF for a particular saveset and see if there is an attached TTL on which the item will be eligible for expiry And lastly it's definitely not a retention issue as it mentions that the item onhold = no; and the site level users can delete would not stop you as an admin from deleting the archive