steve
steve

Reputation: 443

Marklogic Data Hub Configuration Export

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

Answers (2)

rjrudin
rjrudin

Reputation: 2236

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

Upvotes: 1

Dave Cassel
Dave Cassel

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

Related Questions