Files Transfer Phases

ARTIFACTORY: Transfer Artifactory Files between Artifactory instances from On-Prem to On-Prem using Hermes

AuthorFullName__c
Gal Einhorn
articleNumber
000005813
FirstPublishedDate
2023-07-12T15:47:10Z
lastModifiedDate
2025-05-14
VersionNumber
5

The jf rt transfer-files command pushes the files from the source instance to the target instance as follows:

  • The files are pushed for each repository, one by one in sequence
  • For each repository, the process includes the following three phases:

Read more about how the transfer files works in the next section.

  • Phase 1 pushes all the files in the repository to the target.    
  • Phase 2 pushes files which have been created or modified after phase 1 started running (diffs).
  • Phase 3 attempts to push files which failed to be transferred in earlier phases (Phase 1 or Phase 2) or in previous executions of the command.

If Phase 1 finished running for a specific repository, and you run the jf rt transfer-files command again, only Phase 2 and Phase 3 will be triggered. You can run the jf rt transfer-files as many times as needed, until you are ready to move your traffic to the target instance permanently. In any subsequent run of the command, Phase 2 will transfer the newly created and modified files and Phase 3 will retry transferring files which failed to be transferred in previous phases and also in previous runs of the command.