cancel
Showing results for 
Search instead for 
Did you mean: 

Exported emails not deleted from archive

TRP
Level 5

Hi all.

I thought I had an issue with orphaned shortcut deletion but it turns out not to be the case.

To help a user delete several thousand emails from his archive I told him to copy them to a specific folder which I then "exported" with the option ticked to remove the exported items.

The export (.pst) has worked fine but the emails have not been removed from the archive.

What could be causing this?

thanks

Tracy

1 ACCEPTED SOLUTION

Accepted Solutions

JesusWept3
Level 6
Partner Accredited Certified

Can you try this query?
My best guess is its just in the dumpster and AE is caching the items

SELECT REPLACE(CAST(AF.FolderPath as varchar(max)), '?', '\') "Folder Path"
       COUNT(JD.SavesetID) "Items Awaiting Deletion"
FROM   EnterpriseVaultDirectory.dbo.Archive A,
       EnterpriseVaultDirectory.dbo.ArchiveFolder AF,
       EnterpriseVaultDirectory.dbo.Root R1,
       EnterpriseVaultDirectory.dbo.Root R2,
       EVVSYourVaultStore_01.dbo.JournalDelete JD
WHERE  JD.ArchivePointID = R1.VaultEntryID
  AND  R1.RootIdentity = A.RootIdentity
  AND  JD.VaultId = R2.VaultEntryId
  AND  R2.RootIdentity = AF.RootIdentity
  AND  A.ArchiveName = 'My User'
  AND  JD.DeletionStatus < 2
https://www.linkedin.com/in/alex-allen-turl-07370146

View solution in original post

5 REPLIES 5

JesusWept3
Level 6
Partner Accredited Certified

Can you try this query?
My best guess is its just in the dumpster and AE is caching the items

SELECT REPLACE(CAST(AF.FolderPath as varchar(max)), '?', '\') "Folder Path"
       COUNT(JD.SavesetID) "Items Awaiting Deletion"
FROM   EnterpriseVaultDirectory.dbo.Archive A,
       EnterpriseVaultDirectory.dbo.ArchiveFolder AF,
       EnterpriseVaultDirectory.dbo.Root R1,
       EnterpriseVaultDirectory.dbo.Root R2,
       EVVSYourVaultStore_01.dbo.JournalDelete JD
WHERE  JD.ArchivePointID = R1.VaultEntryID
  AND  R1.RootIdentity = A.RootIdentity
  AND  JD.VaultId = R2.VaultEntryId
  AND  R2.RootIdentity = AF.RootIdentity
  AND  A.ArchiveName = 'My User'
  AND  JD.DeletionStatus < 2
https://www.linkedin.com/in/alex-allen-turl-07370146

TRP
Level 5

where do I run the query?

 

JesusWept3
Level 6
Partner Accredited Certified

in SQL Management Studio 
just replace EVVSYourVaultStore_01 database name with the name of the Vault Store that holds the users archive

https://www.linkedin.com/in/alex-allen-turl-07370146

EV_Ajay
Level 6
Employee Accredited

Hi,

Are you using the DIscovery Accelerator in your environment. ? Because if those items which you tried to export is on hold then DA will not allowed to delete those emails.

If you are using DA then need to remove the hold from case level and try to delete or reexport with option to remove item.

 

A_J1
Level 6
Employee Accredited Certified

Hi,

 

What do we have set under  Site Properties -> "Number of days until items are permanently deleted SET to: "