Reputation: 443
How would i export the MarkLogic Data Hub v5.x configuration & all its objects ( like Entities, Flows etc ) to a zip file please?
That way I can clone data hub structure as needed and re-create a copy on multiple servers for parallel testing tasks.
Thanks in advance.
Upvotes: 1
Views: 69
Reputation: 2236
If you're on DHF 5.2.0 or greater, just use the Gradle task "hubExportProject".
Upvotes: 1
Reputation: 8422
When you created your data hub project, that created a bunch of files on the file system. Best practice is to use ml-gradle to deploy that configuration to your other environments. ml-gradle lets you set up environment-specific properties files to manage differences between your environments (such as the host(s) you're deploying to.
Upvotes: 1