Forum Discussion

evinfo's avatar
evinfo
Level 4
14 years ago

Custom EVPM folder and Quota Based archiving

All - We are currently implementing EV 9.0.2. We are deploying a "Quota" based archiving with 20% free and 1 "Custom folder" with "Forever" retention category via EVPM scripting. 1. We would like...
  • Andy_Joyce_VERI's avatar
    14 years ago

    Hi

    If i understand correctly, you want to have a folder in each mailbox that gets archived fully every night (items > 0 days) and the items are archived with a Retention Category of Forever, plus you want a weekly archving run to target all over folders based on a quota-based policy?  If this is the case then I don't believe it can be done.  You could have the quota-based policy run every night, same as the age-based policy, or have both done weekly by scheduling the archive task to only run weekly.  The rason for this is that they are actually just part of the same policy, and here's why...

    When the archiving task is processing a mailbox for archiving, it will create two lists in memory. These lists will contain items of different properties. The first list is for “age” based. Items that are older than what is specified in the mailbox policy will be added to this list. The second list is for “quota” based. Thus, if the mailbox is over the quota threshold, the archiving task will look for larger items to archive and add them to the second list.

    While building a list of items to add to the second list, shortcut size estimation is performed. This estimation is used in determining how many emails need to be archived.

    The combined length of both lists is equal to the “Maximum Number of Items Per Pass” setting. The default is 1000 messages. Keep in mind that we can perform multiple passes to ensure the mailbox is within the quota or age threshold.

    While the two lists are being populated, items from either list can be removed or moved if a better qualifying item is found during the scan. For example, the list contains an email that is 4MB and the list is currently full (as defined by the “Maximum Number of Items per Pass” setting) and a 5MB email is found. The 4MB email will be removed from the list and the 5MB email will be added as it is larger and has better qualifications for archiving.

    Once the first list (“age”) has reached the “Maximum Number of Items Per Pass” setting, there is no need to continue to search for items that would qualify for the second list (“quota”) for the current pass. The first list will be processed by the archiving task. The archiving task will then make a second run (or as many runs as needed) to look for other items that would qualify for either list until the age and quota thresholds have been achieved.

    Hope this helps

    Andy