export metaspace
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 as-admin
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'
 
		Quit as-admin: 
		  
 
		as-admin> quit
Launch as-admin with the 
		-i 
		flag and the filepath (no quotation marks): 
		
 
		<TIBCO_HOME>\as\<version>\bin>as-admin.-i C:\temp3\saved_metaspace.txt
The output will indicate that the metaspace has been recreated and as-admin is now connected to this newly-created metaspace:
Connected to metaspace ms
Related concepts
Related tasks
Related reference
Copyright © Cloud Software Group, Inc. All rights reserved.
