How to retrieve configuration from a marklogic server with Roxy

181 Views Asked by At

I'm starting to use Roxy to configure my marklogic cluster (version 8). This tool allow me to deploy my configuration on many "clusters" and avoid to do it manually.

During my tests, I configured a cluster manually (through the web administration - port 8001). I'm wondering if it's possible to retrieve this configuration from the server to my local computer. I'd like to get it locally to use it for my futures deployment.

Thanks.

Regards, Romain

2

There are 2 best solutions below

4
On BEST ANSWER

Try this great write-up by Geert: http://grtjn.blogspot.nl/2014/10/capturing-marklogic-applications-with.html

The sample mentions version 7, but Roxy works fine with Version 8 as well.

1
On

Perfect, thanks David.

The command for ML8 to get the roxy config is :

./ml [env] capture --full-ml-config

Example :

./ml dev capture --full-ml-config

Roxy will create an XML file with all remote server configuration.