It's possible to import the Artifactory configurations from the Old Artifactory to the New Artifactory using an empty System Export even at scale. At large scales (Above 1 million artifacts) the default Full System Export takes too long to complete. For our purposes, we just need to create the repositories on the other side.
You can exclude everything but the configurations and users by checking both "Exclude" checkboxes. This will save a nearly-empty backup of the Old Artifactory's configurations and permissions; it should complete fairly quickly.
Note: Due to an open bug, RTFACT-25899, you have to decrypt the passwords before the export in Artifactory 7.X
Next, copy the export into the New Artifactory. Import it using the Import System menu to automatically create all the target repositories:
If both checkboxes are checked on the Import, nothing will be deleted. This way the import can be done again later to update the repositories list and permissions. This is also how you can recover if the replications are not set up correctly.
You can exclude everything but the configurations and users by checking both "Exclude" checkboxes. This will save a nearly-empty backup of the Old Artifactory's configurations and permissions; it should complete fairly quickly.
Note: Due to an open bug, RTFACT-25899, you have to decrypt the passwords before the export in Artifactory 7.X
curl -u admin http://localhost:8081/artifactory/api/system/decrypt -XPOST [Expected Output] DONE
Note: If anything goes wrong later, you should reload this exported configuration to undo the replication settings
Next, copy the export into the New Artifactory. Import it using the Import System menu to automatically create all the target repositories:
If both checkboxes are checked on the Import, nothing will be deleted. This way the import can be done again later to update the repositories list and permissions. This is also how you can recover if the replications are not set up correctly.