Export applications using scripting


 

+

Search Tips   |   Advanced Search

 

We can export the applications before you update installed applications or before you migrate to a different version of WAS v7.

Exporting applications enables you to back them up and preserve their binding information. Launch wsadmin using Jython.

Jacl...

### Export applications.
$AdminApp export SamplesGallery /tmp/exported.ear

### Export DDL files in the enterprise bean
### module of an application to a destination directory...
$AdminApp exportDDL SamplesGallery /tmp

Jython...


### Export applications.
AdminApp.export('SamplesGallery', '/tmp/exported.ear')

### Export Data Definition Language (DDL) files in the enterprise bean
### module of an application to a destination directory...
AdminApp.exportDDL('SamplesGallery', '/tmp')

 

Related tasks


Updating installed applications with wsadmin
Use AdminApp for scripted administration

 

Related


Commands for AdminApp