Export Application Version CLI
Export an application version archive with the JFrog CLI, then copy that archive to another JFrog instance when the instances have no network connection.
Description: You can distribute your application versions to remote Edge nodes within an air-gapped environment. You can use this when you have two or more JFrog instances that have no network connection between them.
You can export an application version as an archive to the filesystem. You can transfer it to a different instance in an air-gapped environment.
Command:
jfrog apptrust version-export [command options] <application-key> <version> [target pattern]Alias command: jf at vexp
Options
The command uses the following options.
| Option | Required or Optional | Type | Description |
|---|---|---|---|
<application-key> | required | string | The key of the application associated with the version you export. |
<version> | required | string | The version to export. |
"<target pattern>" | optional | string | Local filesystem target path. If it ends with a terminal slash (/), the command treats it as a directory and writes the export archive into it. If there is no terminal slash, the command treats the target path as a file and renames the export file to that path. |
--min-split "<value>" | optional | integer | Minimum file size in KB to split into ranges when downloading. Set to -1 for no splits. Default: 5120. |
--split-count "<value>" | optional | integer | Number of parts to split a file into when downloading. Set to 0 for no splits. Default: 3. |
Example 1: Export Application Version Archive
Export version 1.0.0 of the application with key my-app:
jf apptrust version-export my-app 1.0.0Example 2: Export and Download to a Specific Directory
Download the exported archive to a specific local directory that ends with a terminal slash:
jf apptrust version-export my-app 1.0.0 /user/mybundle/Related Topics
Updated about 1 hour ago
