Video Screencast Help

Automatically deleting archived mailbox from EV to free up disk space

Created: 27 Nov 2013 • Updated: 31 Dec 2013 | 12 comments
This issue has been solved. See solution.

Hi Folks,

I've got a bunch of user mailboxes account that I need to delete from the Exchange Server 2007. I'm now using EV 9.0.4 and I'm not sure how to delete the archived content as well ?

do I have to go to EV console manually and then right click to delete the Vaulted archive or can I do it smartly with a script ?

Because with the Exchange Server mailbox, I can do the mailbox delete with Powershell.

Operating Systems:

Comments 12 CommentsJump to latest comment

JesusWept3's picture

SQL edits can cripple your environment and are not supported and with SQL it can be easy to mess up and end up deleting legitimate users

John Santana's picture

Hm.. I guess in this case the only way to delete it is by right clicking it manually one by one.

Do I need to set something before I right click and delete the archive ?

Kind regards,

John Santana
IT Professional

--------------------------------------------------

Please be nice to me as I'm newbie in this forum.

Pradeep_Papnai's picture

Agreed with Jesus, deleting archives via SQL/script is not good idea, however you disable archiving for mailbox those are deleted/disable in exchange/AD.

https://www-secure.symantec.com/connect/forums/how-disable-bulk-users-archiving

In future, if these user’s return then it would be easy for you relink with existing archives.

A_J's picture

I would also suggested to delete it from admin console..

Once you delete it from admin console the archive will go fin "Marked for deletion".

And when storage expiry runs next it will go head and delete all items associated with that archive from the Database and Physical Vaultstore Partition.

This is the safest way to do it, and will not cause any issue with EV Databases.

I hope this hepls.

John Santana's picture

Many thanks for the clarification people, however my storage policy item was set as forever :-/

Kind regards,

John Santana
IT Professional

--------------------------------------------------

Please be nice to me as I'm newbie in this forum.

A_J's picture

Hello John,

 

That doesn't matter because you are deleting an archive which is considered as a force deletion and the archive will get deleted. 

The only exception is if in the retention policy if you have "Prevent deletion of items in this retention category" selected then the archive will reamin Marked for deletion and will not get deleted.

Uncheck this option "Prevent deletion of items in this retention category" if it is checked before deleting the archives.

check the screenshot 

prevent deletion.png

I hope this helps !!!

 

RahulG's picture

If retention of the item is not a concern , you can delete the archive from Vault admin console. But I would suggest you to export the archive to a PST before deleting it from EV , because in case if you have to restore the deleted archive , you would need to do a disaster recovery of EV i.e. need to create a Similar EV test setup , restore the vault store and SQl databases and then extract the information you need.

  The recommended way to Optimize the storage would be configuring Storage Expiry So once the retention period is over the Data gets deleted without any manual intervention.

Admins Ideally Archive the mailbox before deleting it from exchange, so that if needed mailbox can be searched for ediscovery purpose. So when deleting the archive be sure if you really want to deletion of the data.

GabeV's picture

Hello John,

Unfortunately, you can't use a PS script to delete archives from Enterprise Vault, since is not available. At this point, the only way to delete archives is from the VAC, one by one. Marking archives for deletion from SQL is not supported and you can end deleting archives that you don't want to.

However, if you are deleting the AD user account as well, in the VAC, you can sort the archive's list by 'Bill usage to' and look for the account that just display the SID. Then, you can delete the archives you need.

Also, if you want to delete archives to get more free space in the storage, keep in mind that if you have sharing enabled at the Vault Store level, you might try to delete an archive that is 1 GB on size but at the end, you might get less than 1 GB of free space back in the storage due to the sharing.

I hope this helps.

“Success is not final, failure is not fatal: it is the courage to continue that counts.”–Winston Churchill

Rob.Wilcox's picture

I think the IDEA is already logged in the Ideas section of the forums ...  i.e. to be able to do deletes from a command line.

SOLUTION
John Santana's picture

Ah.. so I'll vote than one up as well :-)

Kind regards,

John Santana
IT Professional

--------------------------------------------------

Please be nice to me as I'm newbie in this forum.

A_J's picture

Hi John,

Please mark the post that best solves your problem as the answer to this thread.