Smart Archiving Features

JFrog Platform Administration Documentation

Content Type
Administration / Platform
ft:sourceType
Paligo

This topic outlines smart archiving features. It includes archiving, searching and restoring packages.

  • Archive Policy

    Archive policies define which packages need to be archived. When the policy is executed, packages are moved from the Active Artifactory Instance to the Archive Artifactory Instance, while the corresponding packages are stored in the Storage connected to the Archive Artifactory Instance.

    Scheduled Execution: Scheduling enables you to configure the periodic execution of a policy that can be set to a daily, weekly, or monthly frequency. You can also define when (or after what period) the policy execution will be stopped, which enables you to perform archiving execution during weekends or maintenance windows.

    Note

    If required, you can run the archive policy manually. To learn more, refer to the Run Smart Archiving Policy Manually

    After packages are successfully archived in the Archive Artifactory Instance, the archived items and corresponding metadata are deleted from the original repository in the Active Artifactory Instance. If the archive process fails, items and the corresponding metadata are not removed, and the incident is logged with an appropriate error message.

    As the archive process progresses, the system generates detailed logs in the Artifactory service logs in the Active Artifactory Instance.Logging

    Admins can manage archive policies, such as create, view, edit, and delete, using the UI or APIs. To learn more, refer to Manage Smart Archiving - Policies.

    Note

    Only Platform and Project admins can create and manage archive policies. To learn more about authorizations, refer to Smart Archiving - User Activities and Authorizations

  • Archive Search

    Admins can use the search feature to perform dedicated archive searches in the Active Artifactory Instance, allowing them to locate and restore packages as needed. For more information, refer to Search Archived Packages.

  • Restore Archived Packages

    After searching for archived packages, admins can restore them from the Archive Artifactory Instance to the Active Artifactory Instance.

    Note

    Restore action does not delete the packages in the Archive Artifactory Instance.

    When performing a restore action, the admin can choose one of the following destinations:

    • Restore items to their original repository and provide a fallback repository (if the original repository was deprecated)

    • Restore all the items to a new repository

    The system performs the restore operation in the background and updates the Artifactory service logs in the Archive Artifactory instance.

    To learn more, refer to Restore Archived Packages.

    Note

    • The restore process may take from a few minutes to several hours, depending on the number of items being restored.

    • If an error occurs during the restore, the process will fail, and error messages will be logged.