6.2

Table Of Contents
Using the CLI Import and Export
Functions 21
You can import and export preconfigured application blueprints and their associated deployment profiles,
services, external services, policies, artifact repositories, and available custom tasks across Application
Services instances to help you further customize your applications.
You can import and export packages between different instances of Application Services 6.1, and import
packages from Application Services 5.0, 5.2, and 6.0 to 6.1.
You can start the CLI from an Application Services remote machine. If you use a fully internationalized
shell client or terminal interface, you can also run CLI commands that contain non-English characters.
See Start the CLI Remotely.
You must log in as an application architect and application catalog administrator to import and export
Application Services packages.
If the import or export package is larger than the memory available on the instance, an error message
informs you to reallocate the memory. For example, you can use the java -Xmx6000m -jar darwin-
cli.jar command to allocate 6GB of memory for an instance.
n
Using the CLI Export Command
The CLI export command creates a package that consists of applications and their associated
blueprints and deployment profiles, external services, policies, artifact repositories, services, logical
templates, and available custom tasks to export between different Application Services instances.
n
Using the CLI Import Command
The CLI import command imports a package that includes applications and their associated
blueprints and deployment profiles, external services, policies, artifact repositories, services, logical
templates, and available custom tasks between different Application Services instances.
Using the CLI Export Command
The CLI export command creates a package that consists of applications and their associated blueprints
and deployment profiles, external services, policies, artifact repositories, services, logical templates, and
available custom tasks to export between different Application Services instances.
The export package has two formats, a compressed archive file format and an uncompressed file format.
The compressed format has a .zip file type and is the default. The uncompressed format is an XML file
and can have any file type. The import-package command accepts both formats.
VMware, Inc.
253