If you are running Artifactory as a standalone distribution (*.zip) and would like to migrate to an .deb/.rpm distribution, or to upgrade as part of this migration, there are two options:
In case you are using the internal Derby DB (and want to keep it that way)
-
First, install Artifactory from the desired distribution (RPM//Deb)
-
Copy the entire content of your current Artifactory’s $ARTIFACTORY_HOME/data to its respective location on the newly installed server ($ARTIFACTORY_HOME/data).
-
Start the new server.
In case you are using an external DB (and want to keep it)
-
First, install Artifactory from the desired distribution (RPM//Deb)
-
Copy the entire content of your current Artifactory’s $ARTIFACTORY_HOME/data/filestore to its respective location on the newly installed server ($ARTIFACTORY_HOME/data/filestore).
-
Copy the storage.properties from $ARTIFACTORY_HOME/etc to its respective location on the newly installed server ($ARTIFACTORY_ETC/).
-
Copy the JDBC driver to $TOMACAT_HOME/lib.
-
Start the new server.
In case you are going to change the current DB
-
First, install Artifactory from the desired distribution (RPM//Deb)
-
Perform a System Export and make sure to choose “Exclude Content”
-
Copy the entire content of your current Artifactory’s $ARTIFACTORY_HOME/data/filestore to its respective location on the newly installed server ($ARTIFACTORY_HOME/data/filestore).
-
Configure the relevant DB according to these instructions
-
Start the new server.
-
Perform System Import. - (Please make sure that there are __NO__ selected checkbox before performing the System Import).