02-19-2014 10:03 AM
is there a script/or a way to set a bunch of users to "Will not be deleted" once added to EV.
im adding about 100 people and need to set them to "Will not be deleted" once they added to the Vault.
thanks
ev8 sp3
Solved! Go to Solution.
02-19-2014 11:36 AM
K so you can either go to the properties of the archive, then go to the Advanced Tab
Uncheck "Delete Expired Items From This Archive Automatically"
or run this following SQL Query against the EnterpriseVaultDirectory database
UPDATE Archive SET DeleteExpiredItems = 0 WHERE ArchiveName IN ('User1','User2', 'User3')
02-19-2014 10:36 AM
02-19-2014 10:37 AM
02-19-2014 11:29 AM
sorry, i mean once they are in EV and have the items not delete in the expiry process even though it may be in a folder that is set to expire.
see attached screenshot.
02-19-2014 11:36 AM
K so you can either go to the properties of the archive, then go to the Advanced Tab
Uncheck "Delete Expired Items From This Archive Automatically"
or run this following SQL Query against the EnterpriseVaultDirectory database
UPDATE Archive SET DeleteExpiredItems = 0 WHERE ArchiveName IN ('User1','User2', 'User3')
02-19-2014 11:40 AM
We went through the exact same scenario. Instead of relying on an accurate DA search to protect content for custodians in a litigation, we had to instead exclude custodian Vaults from expiry. Groan.
Anyway, the SQL query JW3 advises worked for us as well.
02-19-2014 12:48 PM
its not working, for the 'user1' i put the archive name correct ie: 'Pergola, Joe'
thanks
02-19-2014 01:02 PM
is the SQL update throwing an error?
you probably need to exit out of the Vault Admin Console and go back to refresh the view
It may also be caching the results so you may need to restart the Directory Service and reload the Vault Admin console
02-19-2014 01:40 PM
@jpergola329,
If you want to modify this setting "Delete Expired Items From This Archive Automatically", you need to do it through the Enterprise Vault Admin Console.
@JesusWept3
Direct SQL updates to the Enterprise Vault Directory database are not supported by Symantec. When an archive is modified through the Enterprise Vault Admin Console, Enterprise Vault doesn't go directly and run an update in the database. There are several settings and conditions verified and checked BEFORE the update takes place. Thus, you might end with an inconsistent archive for other operations.
02-19-2014 01:43 PM
I just went back to my notes and our experience was consistent with what GabeV is saying. I was forced to use the VAC to unselect each individual Vault from expiry.
02-19-2014 02:48 PM
And just what would those conditions be?
Because tracing it, all that happens is it does a CheckAndQualifyNTAccount to convert a SID to an NT Account name, and then it calls SQL with UpdateArchive, and the UpdateArchive does very little after that
SO yeah, really all you need to do is restart the EV services at that point as it could be cached.
But i tried the SQL update, refresh in cache, shows won't be deleted
Did a run now in Report Mode
Number of Vaults Processed: 2003
Number of vaults enabled for expiry: 0
Total number of expired items: 0
Flipped it back to DeleteExpiredItems back to 1
Number of Vaults Processed: 2003
Number of Vaults Enabled For Expiry: 2003
Total Number of Expired Items: 6358
So yeah, enabling through the console does nothing more than call the stored procedure UpdateArchive
02-20-2014 08:35 AM
pls see atteched.
thanks
02-20-2014 08:40 AM
What database did you run it against? Make sure it is running against the EnterpriseVaultDirectory database or put "USE EnterpriseVaultDirectory" as the first line of the query.
02-20-2014 08:44 AM
thanks!!
worked.