Video Screencast Help

Is there script or Powershell cmdlet to delete Enterprise Vault archives?

Created: 05 Sep 2013 • Updated: 06 Sep 2013 | 2 comments
This issue has been solved. See solution.

Is there script or Powershell cmdlet to delete Enterprise Vault archives? We are trying to automate the archive deletion process after user left company.

 

 

Operating Systems:

Comments 2 CommentsJump to latest comment

JesusWept3's picture

No, unfortunately not
The only supported methods are through the Vault Admin Console

You can script through SQL Queries, but its not supported by Symantec, and can easily overload your environment to the point where its not responsive and cause major issues, along with the fact that you might end up deleting legitimate archives, and have to perform a DR to get those archives back

You should ping Andrew Becker (AndrewB on the forums) at Trace3 as they have an Orphaned Archives application that can detect orphaned archives, schedule deletions, detect legal holds and Retention Categories on hold etc, along with an audit trail of who approved the deletions, when the deletions started/completed etc
 

Pradeep_Papnai's picture

Please have a look below links created by prominent members of this forum.

http://thingsilearnedtoday.net/2011/05/22/bulk-deleting-of-archives/
https://www-secure.symantec.com/connect/forums/renewed-question-sql-query-delete-ev-archive-or-change-archivingstate-mbxarchivingstate-1-4

Deleting multiple archive in one go is not allowed by VAC, It can be achived by changing SQL database (evdirectory\archive table\archivestatus=4) but it is not supported as Enterprise Vault API doesn’t allow you to delete multiple archives and in background delete single archive at a time.

You may wish to put idea in enhancement section; TN http://www.symantec.com/docs/HOWTO38237

Please also make sure your SQL table does not get fragmented due to archive deletion and run SQL maintainence in regular interval.

SOLUTION