Manage Smart Archiving Runs
You can view Smart Archiving runs, stop running policies, download run reports, search and restore archived packages, and monitor archive storage and activity. Each section describes the UI steps and links to the equivalent REST API where one is available.
- View All Smart Archiving Runs
- Download and Review Smart Archiving Run Report
- Search Archived Packages
- Restore Archived Packages
- View All Restore Runs
- Download and Review Restore Run Report
- Monitor Smart Archiving and Restore via UI and Logs
Manage Archive Runs
You can view archive runs, stop all running policies, and download run reports from the Active Artifactory Instance.
Archive Run Actions
- View all runs: Review past and ongoing Smart Archiving runs, including archived items, timestamps, and run status.
- Stop all runs: A Platform Admin can stop every Smart Archiving policy that is currently running.
- Download and review a run report: Download a CSV report of the packages a run archived, or would archive in a dry run.
View All Smart Archiving Runs
This section outlines how to view the status of both past and ongoing Smart Archiving runs. You can review specific details, including the items that have been archived, the associated timestamps, the status of each archive operation, customizing table columns, and applying filters to view the desired information.
Permissions: Only a Platform Admin or a Project Admin can view Smart Archiving runs. A Project Admin can view runs within their project.
To view the Smart Archiving policy runs:
-
From the Administration module, go to Artifactory Settings > Retention Policies.
-
In the Retention Policies page, click Archive.
-
From the Runs tab, under Runs, locate the Run ID you want to review.
In this list, you can review a comprehensive history of executed archive policies, including the start time, number and physical size of archived items, and run status. The list is sorted chronologically, with the most recent run first. For more information, see Archive Runs Table Fields.
-
To view a report on a specific policy run, locate the run, and then click the Report icon.
A zip file is downloaded that contains one
.csvfile. If the report is for a dry run, it shows the items that would be archived in a real run. If it's for an actual archive run, it details what was archived.
Note
- Artifactory creates and stores reports in a dedicated repository called
jfrog-policy-reports-local. Keep this repository to maintain a history of policy executions and their results. If you delete it, you lose this history.- If no packages are archived for a real run, or would be archived for a dry run, a report isn't generated.
- The number of previous runs included in the history is defined by the
artifactory.policy.cleanup.nodes_cleaned.expiration.dayssystem property.

Archive Runs Table Fields
The runs list includes these columns:
- Run ID: The number of the run ID.
- Global: Whether the policy applies at the global level. A global policy may affect multiple projects. A Platform Admin can manage it on the Global Scope only.
- Project: The name of the project.
- Policy Name: The name of the policy.
- Start Time: The date and time when the archive operation started running.
- Archived Items (Physical Size): The total number of archived items and the archived size.
- Status: The status of each policy execution. Possible statuses include Running, Completed, Failed, Stopped, Queued, Skipped, Dry Run Completed, Dry Run Failed, and Pending. For Failed status, check the logs for details.
- Report: The report download state. The icon shows whether the report is available for download, is being prepared after you click the icon, or isn't available.
Customize Archive Run Table Columns
Arrange the table columns according to how you want to view them.
To display and arrange the columns:
-
From the table header, click the Customize Columns icon.
-
In the Customize Columns window, select which columns to display.
-
Drag and drop the columns to reorder them.
-
Click Apply.

Apply Filters to Sort Run Results
You can apply the filter to the run results to access your desired view.
To apply filters:
-
Click the Filter icon in the table header.
-
Apply the following fields as you want to sort:
- Policy Name: Enter the name of the policy and select the policy from the list.
- Project: Enter the name of the project and select the project from the list.
- Start Time: Select from the dropdown list or customize the time range using the calendar.
- Status: Select the run status from the available list. For more information, see Archive Runs Table Fields and the Status field.
- Other: Select Hide Blank Executions to hide runs that archived no packages, or select the other available options as applicable.
-
To remove applied filters, click Clear all.

Refresh Archive Runs
If you don't see the latest created runs in the list, you can refresh the runs to view them.
To refresh the archive runs:
- Click the Refresh icon in the table header.

Stop All Smart Archiving Policy Runs
You can stop all Smart Archiving policy runs from either the Policies tab or the Runs tab. Once a policy run is stopped, it can't resume from its last point. You must restart the policy from the beginning to rerun it.
For more information, see Stop All Smart Archiving Policy Runs on the Manage Smart Archiving Policies page.
To stop all running Smart Archiving policies using the REST API, see Stop All Running Smart Archiving Policies. Use this command to stop all running policies at the global level:
curl -X PUT "https://<JFROG_HOSTNAME>/artifactory/api/archive/v2/packages/policies/runs/forceStopAll" -H "Authorization: Bearer <ACCESS_TOKEN>"Where:
<JFROG_HOSTNAME>: Your JFrog Platform hostname<ACCESS_TOKEN>: Your access token
For example:
curl -X PUT "https://company.jfrog.io/artifactory/api/archive/v2/packages/policies/runs/forceStopAll" -H "Authorization: Bearer <ACCESS_TOKEN>"Permissions: Only a Platform Admin can stop all running policies, and only from the global context.
Download and Review Smart Archiving Run Report
This section outlines how to download a Smart Archiving 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.
Permissions: Only a Platform Admin or a Project Admin can download a run report. A Project Admin can download reports within their project.
Note
The report is generated for both actual runs and dry runs.
To download the Smart Archiving run report:
-
From the Administration module, go to Artifactory Settings > Retention Policies.
-
On the Retention Policies page, click Archive.
-
From the Runs tab, under Runs, locate the run for which you want to download the report, and then click the Download icon.

A zip file is downloaded that includes a
.csvfile. -
Review the downloaded report. For more information, see Smart Archiving Run Report Overview.
Smart Archiving Run Report Overview
The downloaded CSV report provides a detailed summary of the archive process, including information on the policy used, the status of the run, and the packages processed.
Archive Report Fields
- Run General Details: The general details of the archive run.
- archive run for
<POLICY_NAME><STATUS>: The policy name and current status of the archive run. - isDryRun: Indicates whether the run was a dry run or an actual run.
- True: Dry run. No changes were made.
- False: Actual run. Changes were applied.
- Run Start Time: The timestamp when the archive process started.
- Duration: The total time taken for the archive process.
- Run Summary: The summary of the archive run.
- Archive packages count: The total number of packages successfully archived.
- Total packages count: The total number of packages processed during the archive.
- Packages virtual size: The virtual size of all archived packages.
- Packages physical size: The actual physical size of all archived packages.
- Policy Configuration For This Run: The configuration details of the policy.
- Policy Key: The name of the archive policy used for this run.
- Description: A description of the archive policy.
- Cron Expression: The cron expression used to schedule the archive runs.
- Max Run Duration: The maximum duration allowed for the policy to run.
- Skip Trash Can: Indicates if the trash can was skipped during the archive.
- Enabled: Trash can is skipped.
- Disabled: Trash can isn't skipped.
- Created By: The user who created the policy.
- Creation Time: The timestamp when the policy was created.
- Last Modified By: The user who last edited the policy.
- Last Modification Time: The timestamp when the policy was last edited.
- Projects: The project name associated with the policy.
- Included in Projects: The projects to which the policy is assigned.
- Package Types: Indicates which projects the Global policy applies to. It includes:
- All: The policy is shared with all projects. This applies when you select the Include All Projects checkbox in the policy settings.
- N/A: The policy isn't applicable to any specific projects.
- Included in Repositories: The repositories included in the policy.
- Excluded from Repositories: The repositories not affected by the policy.
- Include Package Name Pattern: The name pattern applied to select packages for archiving.
- Exclude Package Name: The name pattern applied to exclude packages from archiving.
- Age Condition (older than): The age-based condition for selecting packages. For example, older than a specified time.
- Usage Condition (not downloaded since): The condition for selecting packages based on usage. For example, not downloaded since a certain date.
- Version (keep last N): The number of latest versions to retain. Older versions are archived.
- Run Detailed Summary: The detailed archive run summary:
- Package name: The name of the archived package.
- Version: The version of the archived package. For Generic packages or any other package types without version information, the system uses the package creation time as the version. The version value is an epoch timestamp.
- Size: The size of the package on the disk.
- Repository: The repository from which the package was archived.
- Repository Type: The type of the repository. For example, Local or Federated.
- Status: The status of the archive operation. For example, Archived.
- Status message: A brief message indicating the result of the archive operation. If the package was skipped, the message provides the reason. For example, the package has been modified since it was archived or has already been restored.
- Package path: The full path to the package location.
- Created date: The timestamp when the package was created.
- Modified date: The timestamp when the package was last edited.
- Last Downloaded date: The timestamp when the package was last downloaded.
Search and Restore Archived Packages
You can search archived packages and restore them from the Active Artifactory Instance.
Search and Restore Actions
- Search archived packages: Search archived packages in the Active Artifactory Instance. The search results show the original repository of each package.
- Restore archived packages: Restore packages from the Archive Artifactory Instance to the Active Artifactory Instance. Restore does not delete packages from the archive.
Search Archived Packages
This topic outlines how to search archived packages. Perform a dedicated search for archived packages in the Active Artifactory Instance. The search results indicate the original repository of each package found.
Permissions: Only a Platform Admin or a Project Admin can search archived packages. In the global context, only a Platform Admin can search. In a project context, a Project Admin can search within that project. Project Admin access is available from version 7.123.
To search the archived packages:
-
From the Administration module, select Artifactory Settings > Retention Policies.
-
Click Archive from the Search dropdown list.
-
Do one of the following:
-
Enter the pkgType: as
<your desired package>, and then click Search icon.
-
Advanced Search
-
Click Filter icon at the right end of the Search field.
The search dropdown window appears.
In the search dropdown window, choose Packages to search by package. Platform Admins can also choose Artifacts to search by artifact. In a project context, search is packages only.
-
Enter search criteria for archived packages:
- Original Repository: Search for packages based on the original repository name. Wildcard characters are supported.
- Archiving Time: Search for all packages archived within the specified time period.
- Package Name Pattern: Search for packages based on the name pattern. Wildcard characters are supported.
- Package version: If you want to search for a specific package version, enter the version number here. Wildcard characters are supported.
- Package Type: Select the package type that you want to search for.
-
-
-
After entering the search criteria, click Search to display results.

Customize Archived Package Search Columns
Arrange the table columns according to how you want to view them.
To display and arrange the columns:
-
From the Table header, click Customize Columns icon at the end.
-
Select which columns to display in the Customize Columns window.
-
Click Apply.

Restore Archived Packages
After searching for archived packages, Admins can restore them from the Archive Artifactory Instance to the Active Artifactory Instance. Restore is non-destructive: packages are not deleted from the archive after restoration.
To restore archived packages using the REST API, see Restore Archived Packages.
Permissions: Only a Platform Admin or a Project Admin can restore archived packages. In the global context, only a Platform Admin can restore. In a project context, a Project Admin can restore within that project. Project Admin access is available from version 7.123.
Note
Restore is a non-destructive process, ensuring that none of the restored packages are deleted from the Archive Artifactory Instance.
Choose one of these restore locations:
- Original Location: Restore to the original repository where the items were located before archiving.
- Fallback Location: If you select Original Location, you must provide a Fallback Location. If the Original Location no longer exists, the Fallback Location is used as the location for restoring packages. Before you provide the Fallback Location, make sure the path already exists. If you are restoring packages, we recommend assigning a Fallback Location that is the same package type as the restored package.
- New Location: Restore to a new location. Before you provide the New Location, make sure the path already exists. If you are restoring packages, JFrog recommends assigning a New Location that is the same package type as the restored package.
To restore the archived packages:
-
From the list of Search Archived Packages results, do one of the following:
-
Single Package Restoration
-
Locate the package you want to restore, and then click Restore icon.
-
Select Original Location or New Location, enter the repository name, and then click Restore.

-
-
Multiple Package Restoration
-
Select the checkbox in line with the packages you want to restore, and then click Restore.
-
Select Original Location or New Location, enter the repository name, and then click Restore.

-
-
Note
- The restoration process duration depends on the number and size of the packages, ranging from a few minutes to several hours.
- If an error occurs during the restoration, the process will fail, and the error details will be logged.
- The default maximum number of artifacts that can be restored in a single run is 10,000.
Note
If the number of artifacts (across selected packages) exceeds 10,000 limit, the restore process terminates (Restoration does not happen). The reason for termination will be logged. Carry out the restore operation again and make sure that the number of artifacts are less than the defined limit.
Manage Restore Runs
You can view restore runs and download restore run reports from the Active Artifactory Instance.
Restore Run Actions
- View all restore runs: Review past and ongoing restore runs, including restored items, timestamps, and run status.
- Download and review a restore run report: Download a CSV report of the packages a restore run processed.
View All Restore Runs
This topic outlines how to view the status of both past and ongoing restore runs. It provides guidance on how to review specific details, including the items that have been restored, the associated timestamps, the status of each restoration operation, customizing table columns, and applying filters to view the desired information.
Permissions: Only a Platform Admin or a Project Admin can view restore runs. A Project Admin can view runs within their project.
To view restore runs:
-
From the Administration module, select Artifactory Settings > Retention Policies.
-
In the Retention Policies page, click Archive.
-
Click the Restored tab.

The restored runs list is displayed.
Restore Table Fields
The restored runs list includes these columns:
- Run ID: The number of the run id.
- Project: The name of the project.
- Start Time: The date and time when the restore operation started running.
- Restored Items (Physical Size): The number of total restored items, and the total items (the restored size).
- Status: The status of each restore execution. Check the logs for details on any failed status.
- Report: The report download state: whether the report is available for download, being prepared, or not available.
Customize Restore Run Table Columns
Arrange the table columns according to how you want to view them.
To display and arrange the columns:
-
From the Table header, click Customize Columns icon at the end.
-
Select which columns to display in the Customize Columns window.
-
Click Apply.

Apply Filters to Sort Restore Run Results
You can apply the filter to the run results to easily access your desired view.
To apply filters:
-
Click the Filter icon in the top-right corner of the table header.
-
Apply the following fields as you want to sort:
- Run ID: Enter run id.
- Start Time: Select from the dropdown list or customize the time range using the calendar.
- Status: Select the run status from the available list. For more information on statuses, see Restore Table Fields and the Status field.
-
To remove applied filters, click Clear all.

Refresh Restore Runs
If you don't see the latest created runs in the list, you can refresh the runs to view them.
To refresh restore runs:
- Click the Refresh icon in the top-right corner of the table header.
Download and Review Restore Run Report
This topic outlines how to download a restore 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 restored packages.
Permissions: Only a Platform Admin or a Project Admin can download a restore run report. A Project Admin can download reports within their project.
To download the report:
-
From the Administration module, select Artifactory Settings > Retention Policies.
-
In the Retention Policies page, click Archive.
-
From the Restored tab, under Restored, locate the run for which you want to download the report, and then click the Download icon.

A zip file is downloaded including one or more .csv files.
Possible Download icon statuses are as follows.
| Icon | State | Description |
|---|---|---|
![]() | Enabled | Indicates the report is available for download |
![]() | Hover | On hovering the mouse pointer, the icon is highlighted. |
![]() | Selected | Indicates the download icon is clicked |
![]() | Disabled | Indicates the report is not available |
- Review the downloaded report. For more information, see Restore Run Report Overview.
Restore Run Report Overview
The downloaded CSV Restore Run Report provides a detailed summary of a package restoration process. It includes key information about the restoration status, runtime details, and the packages processed.
Restore Report Fields
- Run General Details: The general details of the restore run.
- Restore run
<STATUS>: The current status of the restore operation. - Run Start Time: The timestamp when the restore process started.
- Duration: The total time taken for the restore process to complete.
- Run Summary: The summary of the restore run.
- Restored packages count: The total number of packages successfully restored.
- Total packages count: The total number of packages processed during the restore.
- Packages virtual size: The virtual size of all restored packages.
- Packages physical size: The actual physical size of all restored packages.
- Restoration Query For This Run: The query executed for this restore.
- Origin Projects: The source project names from which the packages were restored.
- Package Type: The types of packages selected for restoration.
- Fallback Destination Path: The original destination path used for restoring the packages.
- New Destination Path: The new destination path where the packages were restored.
- Restore to Original: Indicates whether the restoration was to the original repository from which the package was archived.
- Run Detailed Summary: The detailed restore run summary:
- Package name: The name of the restored package.
- Version: The version of the restored package.
- Lead artifact path: The lead artifact path, if applicable.
- Size: The package size on disk.
- Source repository: The repository the package was restored from.
- Source repository type: The type of the source repository. For example, Local or Federated.
- Destination repository: The repository the package was restored to.
- Status: The restoration status. For example, Restored.
- Status message: A message indicating the result of the restoration.
- Package path: The path to the package.
- Created date: The creation timestamp.
- Modified date: The last modified timestamp.
Monitor Smart Archiving and Restore
You can monitor archive storage, and archive and restore runs, from the Active Artifactory Instance.
Monitoring Actions
- Monitor archive storage: View archive storage size and the space saved after a successful archive.
- Monitor runs in the UI and logs: Track archive and restore progress from the runs lists and from Artifactory logs.
Monitor Smart Archiving Storage Info
This topic outlines how to view Archive Storage Info and provides guidance on detailed insights into optimization after successful archival.
Permissions: Only a Platform Admin can view Archive Storage Info, and only from the global context.
To view the Archive Storage info:
- From the Administration module, select Artifactory Settings > Retention Policies.
Note
The Archive Storage Info can be viewed in the global context only.
-
In the Retention Policies page, click Archive.
-
Click any of the following tabs, and then click Archive Storage Info link from the top right of the page.
-
Policies
-
Runs
-
Restored

-
-
The Archive Storage info provides the following details:

Archive Storage Info Fields
-
Archive Storage: Total archive size. For example, 750 GB.
-
Optimization: Percentage of optimization (space saved) after archiving binaries and artifacts.
For example:
- Initial Storage - 1000 GB
- Archived - 750 GB
Optimization = ((Initial Storage - Archived) / Initial Storage) X 100
In this example, Optimization = ((1000 - 750) / 1000) X 100 = 25%
The archiving process saved 25% of the original storage space.
-
Virtual: Total size on disk of artifacts without optimization. For example, 200 artifacts, 1000 GB.
-
Physical: Total size on disk of binaries with optimization. For example, 50 binaries, 750 GB.
Monitor Smart Archiving and Restore via UI and Logs
This topic outlines how to monitor archive and restore runs from the UI and their logs.
Permissions: A Platform Admin or a Project Admin can monitor archive and restore runs in the UI. A Project Admin can monitor runs within their project. Viewing Artifactory logs applies to a Platform Admin only.
Monitor Archive and Restore Runs in the UI
After you start an archive or restore operation, you can track its progress from the runs lists.
View Artifactory Logs
Artifactory logs contain detailed events for archive and restore operations. Only a Platform Admin can view them.
Note
Applies to Platform Admin only.
To view the Artifactory logs:
-
From the Projects dropdown list, click All Projects.
-
From the Administration module, select Monitoring > Artifactory Logs.
The Artifactory Logs page appears.

-
From the View System Logs dropdown list, select artifactory-service.log.
-
View the logs.
Frequently Asked Questions
This section provides answers to frequently asked questions about managing Smart Archiving runs, restoring archived packages, and monitoring activity.
FAQs
Q: How do I view Smart Archiving runs?
A: From the Administration module, go to Artifactory Settings > Retention Policies, click Archive, and then open the Runs tab. You can review past and ongoing runs, customize table columns, and apply filters. See View All Smart Archiving Runs.
Q: What happens when I stop all archive policy runs?
A: You can stop all currently running policies from the Policies tab or the Runs tab. After a policy run is stopped, it can't resume from its last point. You must restart the policy from the beginning. See Stop All Smart Archiving Policy Runs.
Q: When is an archive run report generated?
A: The CSV report is generated for both actual runs and dry runs. Download it from the Runs tab. The zip file includes a .csv file that lists archived packages. See Download and Review Smart Archiving Run Report.
Q: Where can archived packages be restored?
A: Admins restore packages from the Archive Artifactory Instance to the Active Artifactory Instance. Choose Original Location (the original repository) or New Location (the path must already exist). Restore is non-destructive: packages are not deleted from the archive after restoration. See Restore Archived Packages.
Q: What happens when a restore exceeds the artifact limit?
A: The default maximum number of artifacts that can be restored in a single run is 10,000. If the number of artifacts across selected packages exceeds that limit, the restore process terminates and restoration does not happen. The reason for termination is logged. See Restore Archived Packages.
Q: How do Platform Admins monitor archive and restore logs?
A: Platform Admins can select All Projects, go to Monitoring > Artifactory Logs, and then select artifactory-service.log. You can also monitor archive and restore progress from the respective Runs tabs. See Monitor Smart Archiving and Restore via UI and Logs.
Q: What information appears in archive and restore reports?
A: Archive CSV reports include the policy used, the status of the run, and the packages processed. Restore reports include a detailed summary such as package name, version, source and destination repositories, and restoration status. See Smart Archiving Run Report Overview and Restore Run Report Overview.
Related Topics
Updated about 2 hours ago




