Retention policies
Include and exclude filenames
Limit a policy to the files that belong to a single backup set. Exclusions take precedence.

Pattern syntax
Use
* for any sequence of characters and ? for one character. Separate patterns with semicolons. Matching is case-insensitive and applies to filenames. The default include pattern * matches all names.Example
To manage SQL backup files and compressed exports, include
*.bak;*.zip. Exclude hold-*;annual-*.zip. A file called daily.bak can qualify. Both hold-daily.bak and annual-2025.zip stay protected.Test the boundaries
Try representative old and recent names, including exceptions and different capitalisation. Confirm the matching set before enabling live deletion. Minimum-copy and freshness checks apply to matching files, so unrelated exports should have separate policies.