[MarkLogic Dev General] Best way to copy database

Dave Cassel Dave.Cassel at marklogic.com
Tue Feb 21 07:44:28 PST 2017

There is an "mlcp copy" command that should work better for you, including being faster than hitting the filesystem in between.


Dave Cassel<http://davidcassel.net>, @dmcassel<https://twitter.com/dmcassel>
Technical Community Manager
MarkLogic Corporation<http://www.marklogic.com/>

From: <general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com>> on behalf of Gary Larsen <gary.larsen at envisn.com<mailto:gary.larsen at envisn.com>>
Reply-To: MarkLogic Developer Discussion <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Date: Monday, February 20, 2017 at 12:16 PM
To: 'MarkLogic Developer Discussion' <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Subject: Re: [MarkLogic Dev General] Best way to copy database

On reread looks like I’m missing -output_type archive and -input_file_type archive


Gary Larsen

| Envisn, Inc.<http://www.envisn.com/>

| 508.259.6465

| Envisn's IBM Cognos Blog<http://www.envisn.com/blog>

From: general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com> [mailto:general-bounces at developer.marklogic.com] On Behalf Of Gary Larsen
Sent: Monday, February 20, 2017 12:08 PM
To: 'General MarkLogic Developer Discussion'
Subject: [MarkLogic Dev General] Best way to copy database

I need to copy an ML database (with data) for testing.

MLCP export and import brought over the same number of documents, but the collection data was missing.  The docs say copy_collections true is the default option.  Adding to the command line yielded similar results.

I don’t you this much so I must be doing something wrong.  Thanks for any advice.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20170221/1c73ea38/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1117 bytes
Desc: image001.jpg
Url : http://developer.marklogic.com/pipermail/general/attachments/20170221/1c73ea38/attachment-0001.jpg 

More information about the General mailing list