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 $ ./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:
|
