Import an existing package or application to SAP Mobile Server using the import command. Export a package or application from SAP Mobile Server using the export command.
To import an MBO package:
supadmin.bat -host hostname -port port -u username -pw password import -file archive name -d domain name
To export an MBO package:
supadmin.bat -host hostname -port port -u username -pw password export -type mbopackage -d domain name -id MBO package name -file archive name
To import a Hybrid App package:
supadmin.bat -host hostname -port port -u username -pw password import -file archive name
To export a Hybrid App package:
supadmin.bat -host hostname -port port -u username -pw password export -type hybridapp -id Hybrid App name -file archive name
To import an application:
supadmin.bat -host hostname -port port -u username -pw password import -file archive name
To export an application:
supadmin.bat -host hostname -port port -u username -pw password export -type application -id application name -file archive name
supadmin.bat -host test01.sap.com -port 2000 -u supAdmin -pw PWD import -d default -file c:\imported.zip
supadmin.bat -host test01.sap.com -port 2000 -u supAdmin -pw PWD export -type mbopackage -d default -id samplePkg:1.0 -file c:\exported.zip
A Hybrid App import has no dependencies.
The import fails when one or more of the dependent resources of the import.zip is missing on the target server.In any of these cases an import failure leaves the import action incomplete and the package or application will not appear on SAP Mobile Server.