artifactoryjfrog-cliartifactory-query-lang

How to restore/recover deleted artifacts from JFrog artifactory


How to restore/recover artifacts deleted using jfrog delete rt from jfrog repository. Trashcan in jfrog settings are configured to keep the deleted image for 3 weeks. so I know it is available. But could not find a way to restore it.
JFrog documentation to restore image is not much helpful. https://jfrog.com/knowledge-base/how-to-recover-deleted-moved-artifacts/


Solution

  • Assuming you have the Trash Can activated, you should follow the instructions specified in the Artifactory documentation:
    When enabled, the trash can is displayed at the bottom of the Artifact Repository Browser and it holds all artifacts or repository paths that have been deleted from local repositories for the period of time specified in the Retention Period field.
    Right-click on an item in the trash can gives you the option to Refresh, Restore it to its original location, or Delete permanently.
    Right-click on the trash can icon gives you the option to Refresh the whole trash can, Search Trash for specific items