Powered by Zoomin Software. For more details please contactZoomin

Administrate MarkLogic Server

Transferring Partitions between Databases

  • Last Updated: April 15, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

You can move a partition from one database to another. For example, to transfer the 2011 range partition from the DB1 database to the DB2 database, use this code:

$ cat transfer-partition.xml
<transfer xmlns="http://marklogic.com/manage">
  <destination-database>DB2</destination-database>
</transfer>
$ curl --anyauth --user user:password -X PUT \
-d @transfer-partition.xml -H 'Content-type: application/xml' \
http://MyHost:8002/manage/v2/databases/DB1/partitions/2011
TitleResults for “How to create a CRG?”Also Available inAlert