Note
Requires an Enterprise+ license.
You can set Artifactory to offload the heavy-lifting work of replicating data to the storage device, by only replicating the metadata while ensuring the data is available on the target binary store. This is recommended, for example, when you have two Artifactory instances configured with replication between them. The binary provider configured on Artifactory includes integrated support for replicating data on the storage level, allowing you to assign the replication process to the storage.
To run repository replication using storage level synchronization options:
Synchronize the storage devices for the source and target Artifactory systems.
Set the
checkBinaryExistenceInFilestore
flag totrue
in the Push or Pull Replication API commands in the source Artifactory. For more information, see the Pull/Push Replication, Set Repository Replication, and Update Repository Replication API commands.Set the
checkBinaryExistenceAllowed
flag totrue
in the target Artifactory with thechecksumReplication
API command. For more information, see Configure Checksum Replication and Get Checksum Replication API commands.
Enable the Flag During Replication
When enabling the flag, during replication, Artifactory searches for the binary in the target Artifactory instance in the binary storage and if it exists, the source replicates only the metadata.
It is the user's responsibility to replicate the data on the storage level.
This feature is disabled by default and does not change any behavior.