How to perform a repository import from the System Export data? [Video]

Tim Telman
2021-02-02 09:44

Importing artifacts from full system export data

 

Video Transcription

Hi there. I’m Tim, support engineer from Jfrog. In this short video, I’ll show you how to perform repository import from the data that was generated from system export. Before I jump into this tutorial, I would like to share with you some of the options that are available in system export.

Okay, this is a system export page. So the first option is to export everything, which means you will export the entire data for Artifactory Chiclets, binders, artifacts, configuration security entities, and so on. This method is not really recommended for very large environments. Then we have a system export with exclude content. This means artifacts that will export everything that we mentioned before, except binders. One of the main reason why you choose this option is when the total size of binders, and/or total count of binders is very large. Once this method is performed, then you will have to copy the files there manually from one environment to another, by using RC, for example. Then we have exclude metadata.

As you already understood this excludes both the metadata, also known as artifacts, and the binders. This method usually completes within seconds as it only exports security entities, such as permissions, users, groups, and tokens. It also exports the repositories configurations, such as that customer’s URL, et cetera.

This is recommended for very, very large environments. I’m talking about over millions of artifacts and terabytes of data. Once this method is performed, you can then perform repository application, which will copy both the artifacts and the binders to the desired instance.

Okay. Move on to further ado. Let’s get started. As you can see, I have one artifact in my generic repository. Now we’re going to perform a system export from this environment. We are going to click on admin. Then we will go to system and we are going to choose the pathway where we want to export this. This is going to be my location. Download and I’ll click export. All right. Our folder 2020 with the timestamp has been created successfully. Now we are going to switch to another environment and perform a repository import.

All right. This is our new environment. As you can see, our example repo local is empty and we will perform recalls import into this repository. So to start, you will click on admin and then Artifactory, and then repositories. You’ll scroll to import section. You’ll pick the repository that you want to import to. And then we will go find our exported data. In my case it is going to be this here. Once you export the data, you will select the repositories and then you will select the repo that you want to import. So in this case, I will import the generic local and then I’ll click select. I will click import. All right? So if we go back to our repository browser and expend this, we will see that file TXT is being imported successfully.

That was my video on how to perform repository import from the data that was generated by system export. Thanks for watching. And I hope you have enjoyed it. Feel free to leave your comments, feedbacks or questions in the comment section below. Have a great day.