Creating a SharePoint archiving policy

This section describes how to create a SharePoint archiving policy. A policy defines what documents are to be archived and, if versioning is enabled on the SharePoint server, how many versions are to be left in SharePoint after archiving.

To create a SharePoint archiving policy

  1. In the Enterprise Vault Administration Console tree, expand the Enterprise Vault site and then click Policies.

  2. Under Policies, click SharePoint.

  3. To create a new policy, right-click in the right hand pane and select New, Policy (alternatively, right-click SharePoint under Policies in the tree). The New SharePoint Policy wizard starts.

  4. In the first window, give the policy a name and description.

  5. In the next window, select the action you want Enterprise Vault to take after archiving:

    • Leave document in SharePoint means that the document will not be deleted from SharePoint once it is archived; users will be able to access all versions of the document both on the server and in the archive.

    • Delete document from SharePoint once archived means that an archived document is deleted from SharePoint and only available in the archive.

    • Prune to n versions of the document enables you to set the number of versions (n) of an archived document that you want left in SharePoint after archiving. Earlier versions will be available in the archive only.

  6. In the next window you can configure how to handle the items that have already been archived. You can choose to retain the items in SharePoint, to delete the items from SharePoint, or to replace them with shortcuts.

  7. In the next window you create one or more rules to select the documents that you want to process with this policy. Click New to display the Rule window.

  8. Enter a Name and Description for this rule.

  9. In the Rule type section, select the action to be taken with files that match the rule. This can be one of Archive, Do not archive or Delete.

  10. In the Filter files using the filename section specify the selection criteria.

    The first box lets you include or exclude the files specified in the second box.

    In the second box enter the files you want to target. You can include wildcards in the filenames. For example:

    • * on its own means all files.

    • *.doc means all files with the extension .doc.

    Separate multiple file types with a comma.

  11. In addition to selection by filename, you can select files by size using the Filter files using file size options.

  12. If you want to archive files according to values in SharePoint library columns, click the Content Type/Metadata tab and then complete the details. Click Help for information about the fields.

  13. When you click OK, the rule is added to the list of rules. One or more rules can be applied when selecting files to process with this policy. Click New to add further rules or Edit to change the highlighted rule.

    During processing, the rules are applied in order from the top of the list. The first rule that matches will be applied, so you need to ensure that the required default action is last. Use Move Up and Move Down to re-order rules.

    To disable a rule, clear the check box for that rule.

    Click Next.

  14. When Enterprise Vault archives documents from SharePoint, the copy stored in the archive is given the same permissions as the folder that contained the original document. This means that users with read access to the folder in SharePoint will be able to access archived copies of any documents in the folder. When archiving from SharePoint 3.0 targets, you can configure whether or not Enterprise Vault is to archive documents with permissions that differ from those of other documents in the folder.

    When archiving from SharePoint 2.0 targets, any settings on this page are ignored and all documents in the folder are archived with the same permissions as the folder.

    Click Next.

  15. When archiving from SharePoint 3.0 targets, you can configure Enterprise Vault to archive drafts of documents. When archiving drafts, you can specify that drafts of a document will only be archived if users who have access to the SharePoint document also have access to drafts of that document.

    If you select the option to archive drafts but do not select Only archive drafts if they can be viewed by users with read access to the document, then drafts of all documents archived from the target site are archived. This means that anyone with read access to the original document in SharePoint will also be able to view archived drafts of the document in Enterprise Vault, even if they do not have access to drafts in SharePoint.

    When archiving from SharePoint 2.0 targets, any settings on this page are ignored.

  16. The final screen shows a summary of what the policy will do.

  17. Click Finish and then Close.