jf rt transfer-config

Copy full Artifactory configuration from a source Artifactory server to a target Artifactory server.

Synopsis

jf rt transfer-config <source-server-id> <target-server-id> [options]

Aliases:

Arguments

ArgumentRequiredDescription
<source-server-id>YesServer ID to export configuration from
<target-server-id>YesServer ID to import configuration to

Options

FlagDefaultDescription
--exclude-reposSemicolon-separated list of repositories to exclude. Supports wildcards
--forcefalseSet to true to allow transfer to a non-empty Artifactory server
--include-reposSemicolon-separated list of repositories to include. Supports wildcards
--prechecksfalseSet to true to run pre-transfer checks
--source-working-dir$JFROG_CLI_TEMP_DIRLocal working directory on the source server
--target-working-dir/storageLocal working directory on the target server
--verbosefalseSet to true to increase verbosity during export

Examples

Verify Command Help

jf rt transfer-config --help

Transfer Full Configuration

jf rt transfer-config source-server target-server --force

Transfer Specific Repositories

jf rt transfer-config source-server target-server --include-repos "libs-release;libs-snapshot"

Run Pre-Transfer Checks

jf rt transfer-config source-server target-server --prechecks --verbose

Warning: This action wipes all Artifactory content on the target server. Use --force only when you intend to overwrite existing configuration.

When to Use

Use transfer-config when migrating an entire Artifactory instance to a new server — for example, moving from self-hosted to JFrog Cloud (SaaS), or upgrading to new infrastructure. This copies all repositories, users, groups, permissions, and other configuration.

Choose this vs alternatives:

ScenarioUse This Command
Full migration to a new empty serverjf rt transfer-config
Add repos from source to existing target without wipingjf rt transfer-config-merge
Move only files (config already transferred)jf rt transfer-files

Prerequisites

  1. Install the data-transfer plugin on the source server: jf rt transfer-plugin-install <source-server>
  2. Both source and target servers must be configured: jf config add
  3. Admin access tokens are required for both servers
  4. Target server should be empty unless you use --force

Known Limitations

  • The target server content is wiped unless --force is used (and even with --force, existing data is overwritten)
  • Very large configurations (thousands of repositories) may take significant time for pre-checks
  • Some configuration elements (for example, custom plugins, LDAP settings) may require manual migration
  • The source server must be accessible from the machine running the CLI


What’s Next

Configuration transferred. Now transfer your files.