Step 3: Push the files from the source to the target instance

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
1. Run the following command to start pushing the files from all the repositories in source instance to the target instance:
 
 jf rt transfer-files source-server target-server

This command may take a number of days to push all the files, depending on your system size and your network speed. While the command is running, It displays the transfer progress visually inside the terminal.                                    

If you're running the command in the background, you use the following command to view the transfer progress.
 
jf rt transfer-files --status

In case you do not wish to transfer the files from all repositories, or wish to run the transfer in phases, you can use the --include-repos and --exclude-repos command options. Run the following command to see the usage of these options.
 
jf rt transfer-files -h

2. A path to an errors summary file will be printed at the end of the run, referring to a generated CSV file. Each line on the summary CSV represents an error log of a file that failed to be transferred. On subsequent executions of the jf rt transfer-files command, JFrog CLI will attempt to transfer these files again.

3. Once the jf rt transfer-files command transfers the files, you can run it    
again to transfer files created or modified while the initial transfer was running. You can run the command as many times as needed. Subsequent executions of the command will also attempt to transfer files that failed to be transferred during previous executions of the command.