Export a realm to XML
This example demonstrates how to export a realm's cluster, joins, security, channels / queues, scheduling, interfaces / plugins and configuration information to an XML file so that it can be imported into any other realm.
Usage
nexportrealmxml <rname> <export_file_location>
<Optional Arguments> -all -realms -cluster -realmacl -realmcfg -channels -channeacls
-joins -queues -queueacls -interfaces -plugins -via
Application Source Code