Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Administering ActiveSpaces with the Admin CLI : export metaspace

export metaspace
Command
Syntax
export metaspace [to <filepath>]
Purpose
Exports the definitions for the metaspace and its spaces (if any are currently defined) to a designated text file or to the screen.
Remarks
The file that is created can be used as a parameter when invoking as-admin with the -i parameter, as shown below.
Example using java -jar lib/as-admin.jar -i
1.
Export a metaspace to a file by invoking export metaspace, including ’to’ and a filepath parameter. Use single- or double-quotes around the filepath:
   as-admin> export metaspace to 'C:\temp3\saved_metaspace.txt'
2.
   as-admin> quit
3.
Launch as-admin with the -i flag and the filepath (no quotation marks):
   C:\tibco\as\2.0\lib>java -jar as-admin.jar-i
   C:\temp3\saved_metaspace.txt
4.
   C:\tibco\as\2,0\lib> java -jar as-admin.jar -i    C:\temp3\saved_metaspace.txt admin.jar -i    C:\temp3\saved_metaspace
 
   Connected to metaspace ms
Parameters
The table shows parameters for this command.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved