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

http://docs.marklogic.com/guide/mlcp/copy

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


From: 
<[email protected]<mailto:[email protected]>>
 on behalf of Gary Larsen 
<[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Monday, February 20, 2017 at 12:16 PM
To: 'MarkLogic Developer Discussion' 
<[email protected]<mailto:[email protected]>>
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

[Envisn]<http://www.envisn.com/>

Gary Larsen

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

| 508.259.6465

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






From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] 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.

Gary

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to