I have not tested this, and probably not a great idea for a production DB.
But ... you could make  a symbolic link from the old data directory to the new 
one.
Do you need both the program and data moved ? or just the data ?
Either case will probably work by moving the folders to E: and creating a 
directory symlink from C: to E:
( Yes modern windows has symbolic links !)

http://windows7themes.net/windows-7-mklink-command-use-to-create-symbolic-links.html



-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
[email protected]
Phone: +1 812-482-5224
Cell:  +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>


From: [email protected] 
[mailto:[email protected]] On Behalf Of Gary Larsen
Sent: Thursday, June 06, 2013 10:51 AM
To: General MarkLogic Developer Discussion
Subject: [MarkLogic Dev General] Reinstalling MarkLogic to different drive

Hi,

I have a situation where MarkLogic was installed on the C: drive months ago but 
now must be moved to the E: drive.  There is only one user database and forest. 
 How can I reinstall without losing the data?

Here's my guess:

Make a backup of the current database
Export the database configuration
Do the uninstall and reinstall of MarkLogic
Create forest and database using the same names (this seems necessary with 
database backup)
Import the database configuration
Restore from the backup

Would this work, is there an easier way?

Thanks for any advice,
Gary

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

Reply via email to