To export configuration, use the following rhino-console command or associated MBean operation.

Console command: exportdeclarativeconfig

Command

exportdeclarativeconfig <zip|directory>
  Description
    Export a declarative configuration bundle which represents the current desired
    component configuration. Outputs the configuration bundle to a directory by
    default, but will instead output a zip file if a .zip suffix is used for the
    destination argument.

Example

To export the configuration bundle site-1-config-backup.zip:

$ ./rhino-console exportdeclarativeconfig site-1-config-backup.zip
Export written to: site-1-config-backup.zip

MBean operation: exportConfiguration

MBean

Rhino operation

public byte[] exportConfiguration()
    throws ManagementException;

This operation:

  • returns a Zip archive containing a single complete config bundle describing the configuration for all namespaces in the cluster.

Previous page Next page
Rhino Version 3.0.0