Previous Topic: login (Application Control and Management)--Log Into ApplicationNext Topic: import (Application Control and Management)--Import Application


export (Application Control and Management)--Export Application

Export an application

Syntax
application export <name> [<dir>] [file=<file>] [--force] [--nocompress | --novols] [ --preserve_acl | --preserve_local_acl  
Parameters
<name>

Name of application to export

<dir>

Name of exchange directory relative to /vol/_impex where the application is to be exported. If not specified, the exchange directory name is the same as the application name.

<file>

Name of tar file to contain the exported application. The specified file must have one of the following extensions:

- .tar

create a tar archive without compression

- .tar.gz

create a zipped tar archive

- .tar.bz2

create a bzip2 tar archive

--force

Overwrite contents of <dir> if not empty or <file>if it exists.

--nocompress

Do not compress application volumes

--novols

Do not export the application volumes

--preserve_acl

Preserve the application ACL if it is present.

--preserve_local_acl

Preserve local principals in the application ACL.

Examples
application export my-app app

export application 'my-app' to '/vol/_impex/app'

application export my-app

export application 'my-app' to '/vol/_impex/my-app'

application export my-app app --novols

export the descriptors for application 'my-app' to '/vol/_impex/app'

application export my-app my-app file=myapp.tar.bz2

export the application and create bzip2 tar archive.

Notes:

By default application ACL's are not preserved during export.

The “--preserve_global_acl” argument is not useful on CA AppLogic for System z® as it does not yet support external directories. Providing “--preserve_global_acl” to “application export” will produce a warning but it will otherwise be ignored.