Repository Management with Nexus
Repository Management with Nexus

A.2. Creating an Artifactory Backup

The Nexus Migration Plugin relies on the Artifactory System Export which is an ZIP archive containing all of the configuration and data for an Artifactory installation. To generate this export, log in as an administrative user in Artifactory, and click on the SystemImport & Export in the left navigation menu. Clicking on this link will show the Entire System Export & Import screen as shown in Figure A.1, “Creating an Artifactory System Export”.

figs/web/artifactory_creating-backup.png

Figure A.1. Creating an Artifactory System Export


This appendix assumes that Artifactory has been installed in the directory /usr/local/artifactory-2.2.5. To create a backup ZIP archive in that same directory:

  • Enter /usr/local/artifactory-2.2.5 into the Target export dir field. If you are on a Windows platform, or if you have installed Artifactory in a different path, enter the path at which Artifactory is installed.
  • Check the Create a zip archive (slow!) checkbox as shown in Figure A.1, “Creating an Artifactory System Export”.
  • Click the Export

When you click the Export button, Artifactory is going to create a timestamped ZIP archive in the specified directory. In this example, Artifactory creates a file named /usr/local/artifactory-2.2.5/20100222.154349.zip. Once this step is completed, you will no longer need to run Artifactory, and you can safely shut it down. In the next section you will learn how to install the Nexus Migration Plugin.

Sonatype Promotion Subscribe via RSS