Mohan, I believe Santhosh has already answered your question but a few more 
steps are needed.

Here are the steps that you can follow

1 – go to 
http://<server-name>:8002/nav/?type=databases<http://wdcdvla04.hmco.com:8002/nav/?type=databases>
2- click on the export option at the top of the page.
3- select the "test" database and click on the download package.
4- Now create a new database "Test2" (for example)
6- open the exported config file in step3  in a text editor and replace values 
of the following Tags and save the file
A)<name>Test</name>  with new database name for example "Test2"
B)<forest-name>Test</forest-name> with new forst name for example "Test2"
5- go to 
http://<server-name>:8002/nav/?type=databases<http://wdcdvla04.hmco.com:8002/nav/?type=databases>
6- select the Import option at the top of the page and import the modified 
config file that you edited in Step 6
7- click the upload button.

I hope this helps.


————————————————
Kashif Khan



From: Mohanraj Chozhan 
<mohanraj_choz...@infosys.com<mailto:mohanraj_choz...@infosys.com>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Monday, June 17, 2013 10:28 AM
To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: Re: [MarkLogic Dev General] Script for ML Database Configuration

For example, I have database name as Test  with full setup of configuration. I 
want to create another database with the existing same configuration in the 
same environment.

From: 
general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of 
santhosh.rajasekar...@cognizant.com<mailto:santhosh.rajasekar...@cognizant.com>
Sent: Monday, June 17, 2013 7:44 PM
To: general@developer.marklogic.com<mailto:general@developer.marklogic.com>
Subject: Re: [MarkLogic Dev General] Script for ML Database Configuration

Hi Mohan,
                Your statement is little confusing, can you brief what you are 
trying to do?

Thanks & Regards,
Santhosh Rajasekaran,
“Think twice before you start programming or you will program twice before you 
start thinking.”

From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of Mohanraj Chozhan
Sent: Monday, June 17, 2013 7:30 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Script for ML Database Configuration

Thanks, In the same database shall we create the another database with the 
existing script. Is it possible

From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of 
santhosh.rajasekar...@cognizant.com<mailto:santhosh.rajasekar...@cognizant.com>
Sent: Monday, June 17, 2013 7:26 PM
To: general@developer.marklogic.com<mailto:general@developer.marklogic.com>
Subject: Re: [MarkLogic Dev General] Script for ML Database Configuration

Hi Mohan,

                You can export the configuration of a particular DB/ Appserver 
which is already present in ML via “Configuration Manager”, that will give you 
an xml containing all the config / index settings for that database/ Appserver.

http://<ip>:8002/nav/?type=databases<http://%3cip%3e:8002/nav/?type=databases>

Note: provide correct ip of your ML server in the above url, there you can see 
the

You can import it to any other environment. (You will get whole configuration 
of the DB/ Appserver)

Hope this will help you.

Thanks & Regards,
Santhosh Rajasekaran,
“Think twice before you start programming or you will program twice before you 
start thinking.”
Vnet: 466749 ,Cell : +91 9600025142
Location : Chennai, MEPZ

From:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>
 [mailto:general-boun...@developer.marklogic.com] On Behalf Of Mohanraj Chozhan
Sent: Monday, June 17, 2013 7:18 PM
To: general@developer.marklogic.com<mailto:general@developer.marklogic.com>
Subject: [MarkLogic Dev General] Script for ML Database Configuration

Hi,

How to generate the ML Database Configuration Script for already present in ML.

I need to total configuration scripts including index setup.

Could you please help on this.

Regards,
Mohanraj

**************** CAUTION - Disclaimer *****************

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely

for the use of the addressee(s). If you are not the intended recipient, please

notify the sender by e-mail and delete the original message. Further, you are 
not

to copy, disclose, or distribute this e-mail or its contents to any other 
person and

any such actions are unlawful. This e-mail may contain viruses. Infosys has 
taken

every reasonable precaution to minimize this risk, but is not liable for any 
damage

you may sustain as a result of any virus in this e-mail. You should carry out 
your

own virus checks before opening the e-mail or attachment. Infosys reserves the

right to monitor and review the content of all messages sent to or from this 
e-mail

address. Messages sent to or from this e-mail address may be stored on the

Infosys e-mail system.

***INFOSYS******** End of Disclaimer ********INFOSYS***


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful.
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful.
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to