Transfer a fresh image of Collections in MarkLogic database to a New server

73 Views Asked by At

We need a fresh image of a couple of Collections of data present in one Marklogic database server to another server.

We tried to transfer the data using xqsync and MLCP, but it takes too long and the performance of the server goes down. If there is a quick way to do it, you my describe it here so we can manage it internally next time.

Could someone please provide information on ways to perform data transfer between MarkLogic databases which are in different servers.

2

There are 2 best solutions below

3
On BEST ANSWER

If you have backups and are working off of the same setup, a back up and restore could be the fastest for the full movement of the database.

2
On

There are couple of options available to transfer data from one MarkLogic cluster to another MarkLogic cluster.

  1. Database replication : For this same number of forests need to be created in both cluster and databases need to configured for database replication.

  2. Flexible replication : This is asynchronous. It uses CPF as the underlying replication mechanism. The documents to be replicated are defined by a CPF domain. The scope of a domain may be a document, a collection of documents, or a directory.