SQL - query multiple archive-databases
Hi all I'm a bloody beginner with sql-code. What I want to know is to the amount of archived data for last night (22:00-06:00) and the night before. Both for two different archives. My code is the following: (SELECT "date" = '2018-02-17', "MB mailarch1" = sum (originalsize)/1024/1024,"MB mailarch2"='' from EVVSVSArchiveMail1.dbo.Saveset with (nolock) inner join EVVSVSArchiveMail1.dbo.savesetproperty with (nolock) ON saveset.savesetidentity = savesetproperty.savesetidentity WHERE archiveddate > '2018-02-17 20:00' and archiveddate < '2018-02-18 06:00' union SELECT "date" = '2018-02-18',"MB (orig) mailarch1" = sum (originalsize)/1024/1024,"MB (orig) mailarch2"='' from EVVSVSArchiveMail1.dbo.Saveset with (nolock) inner join EVVSVSArchiveMail1.dbo.savesetproperty with (nolock) ON saveset.savesetidentity = savesetproperty.savesetidentity WHERE archiveddate > '2018-02-18 20:00' and archiveddate < '2018-02-19 06:00') UNION ALL (SELECT "date" = '2018-02-17',"MB (orig) mailarch1"='',"MB mailarch2" = sum (originalsize)/1024/1024 from EVVSVSArchiveMail2.dbo.saveset with (nolock) inner join EVVSVSArchiveMail2.dbo.savesetproperty with (nolock) ON saveset.savesetidentity = savesetproperty.savesetidentity WHERE archiveddate > '2018-02-17 20:00' and archiveddate < '2018-02-18 06:00' union SELECT "date" = '2018-02-18',"MB (orig) mailarch1"='',"MB mailarch2" = sum (originalsize)/1024/1024 from EVVSVSArchiveMail2.dbo.saveset with (nolock) inner join EVVSVSArchiveMail2.dbo.savesetproperty with (nolock) ON saveset.savesetidentity = savesetproperty.savesetidentity WHERE archiveddate > '2018-02-18 20:00' and archiveddate < '2018-02-19 06:00') The output I want is a table like: date MB mailarchive1 MB mailarchive2 2018-02-17 8556 9234 2018-02-18 9432 9834 I am sure there is a much more elegant and straightforward query, but I am not able to improve it. Has anyone of you scripted a similar thing and could let me know? Thanks a lot, MikeSolved1.6KViews0likes4CommentsSeeking SQL query returning per-user count of (non-legal hold) items to be expired from EV
Hi all, Long-time listener, first-time caller. Our customer is looking to turn on expiry in their environmentfor the first time.They use EV in a non-traditional manner, so of 32MM+ items, upwards of 2/3 (maybe even 9/10)are on legal hold via DA. Effectively the only items not on legal hold are from cases thatwere active but have since been closed, removing the holds. Many of the holds overlap, as well. We have successfully tested expiry in a near-duplicateQA EV environment and removed about 2MM items without incident. After presenting that result, the customer's IT team has requested that we add an additional step to present to legal before advancing into Production. They'd like as granular a report as possible of what will be removed so they can confirm the data to be expired should be expired. Criteria are below: Asimplecount of items to be removed per user would be the bare minimum. A better solution would include retention categories The perfect query would provide: Granular item-by-item reporting (for at least some users) Ameans by which at least a subset of physical savesets could belocated and presented After digging around the forums for quite some time, I've tested versions ofJesusWept3's query (which looks like it should do exactly what I need) but: In my lab (which does not have DA) I need to remove any references to the holdsaveset table or else it returns no results I'm considering adding DA to my lab to test it, but I have little doubt thatJesusWept3knows his stuff. I'm confident that it will work. In the QA environment, looking at just one of three vault stores, I stopped it after about 36 hours of execution, made some modifications and was unable to make it work more efficiently. I started it again and it has still not completed running after anotherhours.Even if it does conclude after, say, 48 hours, this is not likely to be an acceptable option to management. Please let me know if you have any tweaks, experience or advice to offer6KViews0likes10CommentsList all emails in a particular folder in a user archive (SQL Query Help)
I'm attempting to get all of the SaveSetID or TransactionID (I'll take whatever at this stage) that exist in a particular folder that I specify in a WHERE clause. I'm using this to identify all of the DVS files for all of the messages in one folder of the user's archive. There are hundreds so I need to do this via SQL. Anyone have any idea on how to accomplish this? Thanks for your help.678Views0likes1CommentList items approaching deletion period
Hi all, We are using Enterprise Vault 9 for archiving an Exchange 2010 organization (and some file servers). Our policies are configured like as follow for the Mailbox archiving: - Archive Items older than 3 months - Delete shortcuts after 2 years As EV was installed 23 months ago we are approaching the D-Day! To prevent any issue; is it possible to get a list of items/shortcuts that are approaching the 2 years limit? Thanks for your help! Best regards, CharlySolved837Views0likes3CommentsGet out from under shared SIS parts?
This is an EV 9.0.2 environment. I have two Vault Store Groups, VSG1 and VSG2. VSG1 contains 3 (Vault1, Email, Journal)vault stores which are configured for sharing within the group. I want to delete Vault1 however due to the "share within group" setting the VS won't delete until all the shared items expire which is a long ways off. If I create new vault stores in VSG2 and use the Move Archive Wizard to migrate the archives from VSG1\Email and VSG1\Journal into these new vault stores will that allow me to delete the old vault stores contained in VSG1? My guess is that this will work but wanted to ask the community as there may be an easier way to accomplish what I'm trying to do. thoughts? thank you. JOESolved923Views0likes3CommentsUpgrade from v8.0.3 to v10
Good morning, We're currently planning an upgrade from v8.0.3 to v10. I'm looking for information about what, if any, changes are made to the DB when completing the upgrade. Also, what changes, if any, are made to the way that the vault stores are held. Thanks,Solved1.8KViews0likes10CommentsWhat is the SQL Server Database maintenance plan for EV ?
Hi All, For the SEP I have implemented this steps:http://www.symantec.com/business/support/index?page=content&id=TECH104792 so I wonder what is the equivalent steps for Enterprise Vault 8.0 SP4 SQL Server 2005 SP3 database maintenance plan ? ThanksSolved2.1KViews2likes11CommentsUpgrade EV 9.0.3 to EV 10.0.1
Hi, We are planning to upgrade EV 9.0.3 to EV 10.0.1 We are already having Symantec Enterprise Vault 9.0.3 installed at Windows Server 2008 SP2 Datacenter Edition x64 bit (Not R2) and SQL Server 2008 x64 bit installed at separate machine Kindly suggest, what steps I need to follow Is there any guide for same?Solved1.5KViews1like9Comments