Description Syntax Example exportGroupSpaces

10-198 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

10.22.2 importWebCenterApplication

Module: Oracle WebCenter Use with WLST: Online

10.22.2.1 Description

WebCenter Spaces only Imports a WebCenter Spaces application from a WebCenter export archive file to a server. After importing WebCenter Spaces you will need to restart the managed server where the application is deployed.

10.22.2.2 Syntax

importWebCenterApplicationappName, fileName, [server, applicationVersion]

10.22.2.3 Example

The following example imports WebCenter Spaces from the export archive myExport.ear. wls:weblogicserverConfig importWebCenterApplicationappName=webcenter, fileName=myExport.ear

10.22.3 exportGroupSpaces

Module: Oracle WebCenter Use with WLST: Online

10.22.3.1 Description

WebCenter Spaces only Exports one or more Spaces to a WebCenter export archive .EAR, using the filename specified. All Space-related data, application customizations, and security information is included in the export archive. You must take the Spaces offline, even if only temporarily, to prevent data conflicts during the export process.

10.22.3.2 Syntax

exportGroupSpacesappName, fileName, names, [forceOffline, server, Argument Definition appName Name of the WebCenter Spaces application in which to perform this operation. fileName Name of the WebCenter export archive that you want to import. server Optional. Name of the managed server where the WebCenter application is deployed. For example, WC_Spaces. Required when applications with the same name are deployed to different servers and also when you have a cluster. applicationVersion Optional. Version number of the deployed application. Required if more than one version of the WebCenter application is deployed. Note: You cannot use this command to export Home Spaces. Oracle WebCenter Custom WLST Commands 10-199 applicationVersion]

10.22.3.3 Example

The following example exports two Spaces mySpace1 and mySpace2 from a WebCenter Spaces application named webcenter. wls:weblogicserverConfig exportGroupSpacesappName=webcenter, fileName=myExport.ear, names=mySpace1, mySpace2 The following example takes mySpace1 and mySpace2 offline and then exports both Spaces to myExport.ear: wls:weblogicserverConfig exportGroupSpacesappName=webcenter, fileName=myExport.ear, names=mySpace1, mySpace2, forceOffline=1

10.22.4 exportGroupSpaceTemplates