User, Administrator
Exporting an app allows you to move it from instance of AppCenter to another. For example, you can move the app from a development instance to a product instance.
-
Identify the ID of the app you want to export.
For example:
"app_id": "82cee826-60d2-46c2-a00d-3d9fd31a8585"
- From the location that contains the AppCenter CLI, log into AppCenter using the command-line interface.
-
Run the command appcenter export
[<host>/<app-id>] -o <filename>.
For example:
appcenter export appcenter.jem.ac.ter.io/82cee826-60d2-46c2-a00d-3d9fd31a8585 -o my-app.tar
You can use the tar ball (my-app.tar) as part of the import command to push to any AppCenter.Optional command flags for appcenter export include the following:Flag Description Example -h Help for appcenter export. appcenter export -h
-o Output string, save to file. Output pulled from registry and AppCenter.
See example for step 3. --timeout If a specific timeout value is not specified, the export request fails if the appcenter-cli does not get a response from app-service within the default of 10 minutes. Use --timeout to specify a timeout other than 10 minutes.
appcenter export appcenter.hj1860103.ac.uda.io/8388464e-e8b8-4f94-8b34-31cd1e6bf737 --timeout 1200 -o app.tar