HSM: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
==Summary== | |||
==Zimbra Storage Volumes== | ==Zimbra Storage Volumes== | ||
==HSM Policies== | ==HSM Policies== | ||
A policy is stored in the global and server attribute '''zimbraHSMPolicy'''. HSM polices are search | A policy is stored in the global and server attribute '''zimbraHSMPolicy'''. HSM polices are search based to take advantage of Zimbra's advanced search capabilities. See ''/opt/zimbra/docs/query.txt''. The zimbraHSMPolicy attribute is multi-valued which is used in the creation of multiple policies. All polices are evaluated during a single HSM run.<br> | ||
'''Format''' | '''Format''' | ||
messagetype1[,messagetype2,...]:query | messagetype1[,messagetype2,...]:query | ||
===Default Policy=== | ===Default Policy=== | ||
The default HSM policy will move document and message types older than 30 days from the active primary message volume to the active secondary storage volume. | The default HSM policy will move document and message types older than 30 days from the active primary message volume to the active secondary storage volume. Mailbox | ||
zmprov gs `zmhostname` zimbraHSMPolicy | zmprov gs `zmhostname` zimbraHSMPolicy | ||
zimbraHSMPolicy: message,document:before:-30days | zimbraHSMPolicy: message,document:before:-30days | ||
===Custom Policies=== | ===Custom Policies=== | ||
Search based HSM permits the creation of custom policies. Here are some examples. | |||
zmprov mcf zimbraHSMPolicy 'message,document:before:-30days' | |||
zmprov mcf zimbraHSMPolicy 'message:before:-129600minutes' zimbraHSMPolicy 'document,wiki:before:-10080minutes' | |||
zmprov mcf +zimbraHSMPolicy 'message:before:-1day in:Trash' |
Revision as of 04:20, 19 August 2011
Summary
Zimbra Storage Volumes
HSM Policies
A policy is stored in the global and server attribute zimbraHSMPolicy. HSM polices are search based to take advantage of Zimbra's advanced search capabilities. See /opt/zimbra/docs/query.txt. The zimbraHSMPolicy attribute is multi-valued which is used in the creation of multiple policies. All polices are evaluated during a single HSM run.
Format
messagetype1[,messagetype2,...]:query
Default Policy
The default HSM policy will move document and message types older than 30 days from the active primary message volume to the active secondary storage volume. Mailbox
zmprov gs `zmhostname` zimbraHSMPolicy zimbraHSMPolicy: message,document:before:-30days
Custom Policies
Search based HSM permits the creation of custom policies. Here are some examples.
zmprov mcf zimbraHSMPolicy 'message,document:before:-30days' zmprov mcf zimbraHSMPolicy 'message:before:-129600minutes' zimbraHSMPolicy 'document,wiki:before:-10080minutes' zmprov mcf +zimbraHSMPolicy 'message:before:-1day in:Trash'