Setting up the Target server:
- For the migration, you will need to create a new Artifactory server which will be set up and connected to a new database.
The source and target Artifactories should be running the same version, to avoid potential issues. (For the import/export compatibility).
- Master.key & Encryption:
Ensure that the master.key (located at $JFROG_HOME/artifactory/var/etc/security/master.key) is copied from the source Artifactory to target before starting the new instance.
Note:
If a target instance was set up and started without the same master key of the source Artifactory, the DB must be dropped, recreated and then master key inserted and then restarted.
(Since initial connection of Artifactory to a fresh DB encrypts its data with the existing master key).
- Target Artifactory must be provisioned with a license.
Note:
If you have an Enterprise + license on both Source and Target Artifactories, if desired you can save time by first manually copying the Filestore from one Artifactory to another (or connecting to the same filestore) and then use the --filestore=true flag to copy the metadata only using the tool. More information can be found in the appendix.