Search code examples
restartifactoryjfrog-cli

How to export jFrog Artifactory repositories through REST API or a jFrog CLI command?


Using the UI, I can export Artifactory repositories. I'll be able to do it as mentioned in the documentation.

But what if I want to do it through a Rest API call or a jFrog CLI command?


Solution

  • JFrog has a CLI that can be used for many kinds of command line, automated or maintenance tasks. This CLI integrates great with CI/CD and with on demand tasks like downloading a file or a full repository.

    Another option is to use the Artifactory REST API, which can be used to download a whole repository or folder from it. There are a zillion options for the REST API.

    For system export, you need to use the Export System REST API call.