This section outlines the actions you can perform on the smart archiving Policies from the Active Artifactory Instance. It includes enable/disable, search, manual run, dry run, edit, stop, delete, view and delete policies.
The following table lists all the possible actions on the policies and their equivalent links to REST API.
Task | Description | For UI, see... | For API, see... |
---|---|---|---|
View All Policies | This section outlines how to view all smart archiving policies. It guides you in reviewing key details such as the policy status, associated projects with the policy, timestamps for the last and next scheduled runs, last run status, actions performed on each policy, and options for customizing table columns. | ||
Perform a Dry Run | This section outlines how to perform a dry run on a smart archiving policy. A dry run lets you preview which packages will be archived based on your defined policy criteria, without performing the actual archiving. This helps you understand the potential outcome before executing the policy. After the dry run, a CSV report is generated, listing all packages that would be archived along with relevant details. Review this list to decide whether to proceed with the policy or adjust the settings. | Run Smart Archiving Policy API
| |
Download the Last Run Report | This section outlines how to download the last run report. The report is in CSV format and lists all archived packages with relevant information. You can review the list to learn about the archived packages. | ||
Enable/Disable Policy | This topic outlines how to enable/disable a smart archiving policy. By default, newly created archive policies are disabled. You must activate a policy before it can execute automatically according to the schedule or be triggered manually. | ||
Run Now | This topic outlines how to run a smart archiving policy manually. In addition to the periodic automated execution of the smart archiving policy that occurs if you enable the policy and set its Cron Expression, you can also manually run the archive policy at any time. | ||
Search Policies | This topic outlines how to search smart archiving policy to locate the desired policy easily. | ||
Disable All Policies | This topic outlines how to disable all smart archiving policies. As a Platform Admin, you can disable all policies globally, making them inactive. Once this is done, you can activate policies individually as needed. | ||
Edit Policy | This topic outlines how to edit a smart archiving policy. After a smart archiving policy has been created, you can change the settings or archive criteria. | ||
Stop Policy | This topic outlines how to stop a running smart archiving policy. For some reason, you may want to stop the smart archiving policy that is currently running before it finishes completion. | ||
Delete Policy | This topic outlines how to delete a smart archiving policy. If you decide that the smart archiving policy is no longer needed, you can delete it. | ||
Stop All Runs | This topic outlines how to stop all smart archiving policy runs. You can perform this action from the policies tab and runs tab. As a Platform Admin, you can stop all currently running policies. Once a policy run is stopped, it cannot resume from its last point. You must restart the policy from the beginning to rerun it. |
Authorization
Activity | Platform Admin | Project Admin Note: Applicable within the scope of your project context | Application User |
---|---|---|---|
| |||
Note: This option is shown from the Global Context only. | |||
Note: This option is shown from the Global Context only. |