Export applications using wsadmin.sh
Using Jacl
### Export applications for backup reasons ### and to preserve binding information. ### It is a good idea to export applications before ### installing new versions of the app or of WAS. ### Export an enterprise application $AdminApp export "app name" /path/to/exported.ear ### Export Data Definition Language (DDL) files in the enterprise bean ### module of an application to a destination directory... $AdminApp exportDDL "app name" /path/to/DDL
Using Jython
AdminApp.export('appname', '/path/to/exported.ear') AdminApp.exportDDL('appname', '/path/to/DDL')