This can be accomplished by using the WLST commands "exportWorkspace" on the source Enterprise Capture system and "importWorkspace" on the target Enterprise Capture system.
The exact steps are :
1) Run the wlst command (.sh for Linux, .cmd for Windows) from the Middleware home /common/bin directory:
wlst.sh
2) Connect to the Capture managed server:
wls:/offline> connect("weblogic","welcome1","t3://localhost:16400")
3) Retrieve Workspace ID, which is passed to the export command. To get a list of current workspaces and their IDs:
wls:/content/serverConfig>listWorkspaces()
The list will look like the following:
8 wkspace1
6 fred-wk2
7 test-capture1
4) Run the export command:
wls:/content/serverConfig>exportWorkspace(8,'/home/isyed/wkspace1.xml')
5) Import the workspace to the same instance (only if you deleted the workspace since exporting) or a different Capture instance:
wls:/content/serverConfig>importWorkspace('/home/isyed/wkspace1.xml')
No comments:
Post a Comment