The Replication Add-on provides a method to synchronize content and properties from one repository to another in a remote Artifactory instance.
Synchronization uses a checksum-based algorithm to ensure only the required deltas are ever transferred over the wire.
Two types of replication are supported:
Where a local repository can actively push content to another local repository on a remote Artifactory.
This is ideal for situations where you can only make an outgoing connection to the remote server, such as when pushing artifacts to a cloud instance.
Pull replication runs as a scheduled task and/or continuously based on storage events.
Evented Push Replication
In addition to scheduled replication, push replication also supports continuous "event-based replication".
When enabled, storage events (deploy, delete, move and copy) are almost immediately applied to the remote instance, making sure the remote content is synced with the original content in near real-time.
Running regular scheduled replication on top of event-based replication, guarantees full copy consistency even in cases of server downtimes and network partitions.
Where a remote repository can actively pull content from another repository (local, remote or virtual) on a remote Artifactory
This provides a convenient way to proactively populate a remote cache and is very useful when waiting for new artifacts to arrive on demand (when first requested) is not desirable due to network latency.
Pull replication runs as a scheduled task.
Replication Scheduling and Configuration
Replication is configured via the user interface as a scheduled task on local and remote repositories for push and pull, respectively.
To configure a replication task, enter the configuration of the local\remote repository you wish to replicate. Go to the Admin tab and then
The Edit Local Repository window is displayed.
Pull replication is also exposed via the Artifactory REST API, with support for REST-enabled push replication coming soon.
Pull and push replications are smart. Only diffs are synched and the replication plan is checksum aware.
All replication messages are directed to Artifactory's standard log file (
Push Replication Local Repository Configuration
Watch the Screencast
To see the Replication in action you can watch the short demo screencast below.