Manage Smart Archiving - Policies

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

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.

View All Smart Archiving Policies

Get All Smart Archiving Policies APIGet All Smart Archiving Policies API

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.

Perform Dry Run on Smart Archiving Policy

Run Smart Archiving Policy APIRun 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.

Download Smart Archiving Policy Last Run Report

Download Smart Archiving Policy Run Report APIDownload Smart Archiving Policy Run Report API

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.

Enable/Disable Smart Archiving Policy

Enable/Disable Smart Archiving Policy APIEnable/Disable Smart Archiving Policy API

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.

Run Smart Archiving Policy Manually

Run Smart Archiving Policy APIRun Smart Archiving Policy API

Search Policies

This topic outlines how to search smart archiving policy to locate the desired policy easily.

Search Smart Archiving Policy

Get Single Smart Archiving Policy by Key APIGet Single Smart Archiving Policy by Key API

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.

Disable All Smart Archiving Policies

Disable All Smart Archiving Policies APIDisable All Smart Archiving Policies API

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.

Edit Smart Archiving Policy

Update Smart Archiving Policy APIUpdate Smart Archiving Policy API

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.

Stop Running Smart Archiving Policy

Stop Running Smart Archiving Policy APIStop Running Smart Archiving Policy API

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.

Delete Smart Archiving Policy

Delete Smart Archiving Policy APIDelete Smart Archiving Policy API

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.

Stop All Smart Archiving Policy Runs

Stop All Running Smart Archiving Policies APIStop All Running Smart Archiving Policies API

Authorization