Zimbra NG Modules/Zimbra NG HSM/Policy Management




Zimbra NG HSM - Policy Management

Zimbra NG HSM - Policy Management

What is a Policy

A HSM Policy is a set of rules that will be applied to define what items will be moved from the Primary Store to the Secondary Store when the "doMoveBlobs" operation of Zimbra NG HSM is triggered, either manually or by scheduling.

A Policy can consist of a single rule valid for all Item Types ("Simple" policy) or multiple rules valid for one or more Item Types ("Composite" policy). Also, an additional "subrule" can be defined using Zimbra's search syntax.

Policy Examples

Here you can find some Policy examples described in human readable language. To see how to create this Policies in the Zimbra NG HSM module, see below.

  • "Move all items older than 30 days"
  • "Move emails older than 15 days and items of all other kinds older than 30 days"
  • "Move calendar items than 15 days, briefcase items older than 20 days and all emails in the "Archive" folder"

Defining a Policy

Policies can be defined both from the Zimbra NG HSM tab of the Zimbra NG Modules Administration Zimlet and from the Zimbra NG Modules CLI. You can specify a Zimbra Search in both cases.

From the Zimbra NG Modules Administration Zimlet

  • Log into the Zimbra Administration Console.
  • Click the "Zimbra NG HSM" entry on the Zimbra NG Modules Administration Zimlet.
  • Click the "Add" button in the Storage Management Policy section of the page.
  • Select the Item Types from the "Items to Move:" list.
  • Enter the Item Age from the "Move Items older than:" box.
  • OPTIONAL: Add a Zimbra Search in the "Addiditional Options" box.
  • You can add multiple "lines" to narrow down your policy. Every "line" will be evaluated and executed after the line before has been applied.

From the Zimbra NG Modules CLI

Two policy management commands are available il the Zimbra NG Modules CLI

  • setHsmPolicy
  • +setHsmPolicy
zxsuite powerstore setHsmPolicy {policy}

This command resets the current policy and creates a new one as specified by the policy parameter.

The policy parameter must be specified in the following syntax

 itemType1[,itemType2,itemtype3,etc]:query
zxsuite powerstore +setHsmPolicy {policy}

This command adds the query specified by the policy parameter to the current HSM Policy.

The policy parameter must be specified in the following syntax

 itemType1[,itemType2,itemtype3,etc]:query

Zimbra NG Modules

zimbra-logo-color.png

Latest Version: 8.8

Zimbra NG Modules Resources

Here you can find useful resources for your Zimbra NG Modules



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search