Squirrel Site Custom Policies for Archive
5 min read · Last updated · Page version 13
The Site Custom Policies feature in Squirrel allows administrators to create site-specific archiving rules that override the global settings.
This is useful when different sites require different retention criteria - for example, keeping large engineering drawings for longer, or excluding temporary project files.
Important: site-specific policies always override global settings for the same option. For example:
If the global minimum file size is set to 1 MB, and a custom site policy specifies 5 MB, the 5 MB rule will apply to that site only.
This applies to every custom policy option: the file types to archive, the file types to exclude, and the minimum file size.
Creating a Custom Policy

- Open the Site Custom Policies window from the Site Archive Settings side panel.
- Use the Select Site field to choose the SharePoint site you want to target.
- Configure Archive Only These File Types (allowlist) or leave empty to allow all file types.
- Configure Exclude These File Types (denylist) to block certain extensions (e.g., .tmp, .log, .cache).
- Set a Minimum File Size to only archive files larger than this threshold. Leave at 0 for no minimum.
- Under Filetype Custom Archive, choose Set up to give chosen file types their own archive age (see below).
- Click Save Custom Policy to apply changes.

The Existing Policies tab lists what is already in force, so you can check whether a site is already covered before adding another.

Policy Options Explained
| Option | Description |
|---|---|
| Archive Only These File Types | Allowlists file extensions for archiving (e.g., .docx, .pdf, .mp4). Only these file types will be captured. Leave empty to capture all file types. |
| Exclude These File Types | Denylists file extensions from archiving (e.g., .tmp, .log, .cache). These files will never be archived. |
| Minimum File Size | Ensures only files larger than a specified size are archived. Useful for ignoring very small or trivial files. Leave empty or set to 0 for no restriction. |
| Filetype Custom Archive | Archives the listed file types once they pass their own age, regardless of the site's normal age. Each type has an age in days, months or years and the date it is counted from. Leave the age blank to archive that type at any age. |
Archiving a File Type at Its Own Age
Some file types are worth archiving sooner than the rest of a site, such as large video files. Under Filetype Custom Archive, choose Set up to open the editor, then Add file type for each one:
- File type is the extension, for example
.mp4. - Archive when older than is the age, in days, months or years. Leave it blank to archive that type at any age.
- Counted from is the date the age uses: Last modified, Last accessed, or Site setting, which follows whichever of the two the site has switched on. Either of the first two replaces the site's own setting for that type.

A line beside each row reads back what it will do, for example "archive once last modified more than 30 days ago". The Existing Policies tab shows each site's list in the Custom Age column. A policy template can carry the same list, and the sites that use the template follow it. The same editor sets a list for the whole tenant under Filetype Custom Archive in Global Settings.
A file type with its own age has to be one Squirrel archives: keep it off the exclude list and, when an archive-only list is set, on that list. The editor says so when you save a type that is on the wrong one.
Managing Policies
Multiple custom policies can exist across different sites.
Use the Existing Policies tab to view, edit, or delete previously created policies.
Policies take effect immediately and will override global rules on the next archive run.
Best Practices
Apply custom rules only where business requirements differ from global defaults.
Use allowlists for sensitive sites where only specific file types should be retained.
Use denylists for high-volume sites to prevent unnecessary archiving of junk data.
Review custom policies regularly to confirm they still align with compliance and governance standards.