1
votes

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.

2

2 Answers

1
votes

If you're on DHF 5.2.0 or greater, just use the Gradle task "hubExportProject".

1
votes

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.