This topic outlines sample use cases for creating archive policies. It includes the type of use case, the scenario, the solution, and the expected result. These examples help you understand how to configure archive policies based on specific conditions for archiving packages.
Use Case | Scenario | Solution | Result |
---|---|---|---|
Archiving Stale Packages | Large repositories with many stale packages. | Create an archive policy to archive stale packages |
|
Archiving Deprecated/EOL Versions of Packages | Deprecated versions of packages that are no longer needed. | Create an archive policy to archive deprecated/EOL versions. | |
Automating Archiving Old Packages | Required to retain packages for a set period (for example, 6 months) for compliance. | Create an archive policy to automate archiving packages based on any of the following conditions:
|
|
Archiving for Compliance and Audit Purposes | Required to retain packages for auditing or legal reasons. | Create an archive policy to archive all packages older than a set number of years (for example 2 years). |