This is not correct.  A database restore uses the configuration for the 
database to which you are restoring; it does not take them from the backup.  
The db backup does contain a copy of the config files for convenience, but they 
are not applied to the restore.  If the settings from the backup are different 
from the db to which you are restoring, it will start to reindex (if reindexing 
is enabled).

Here are a few other points worth looking at:

* is your new machine the same platform and bits (64 or 32) as your backup?  
The backups are platform (and bits) specific, so if they are different it will 
not work
* you can take a snapshot of your data directory after uninstalling MarkLogic, 
then put that data directory in the same location on the new machine before 
installing MarkLogic.  Then when you install, MarkLogic will treat that as an 
upgrade (keeping all of your config info, which is in the data dir).  Then you 
can apply your db backups.
* I would test whatever you do carefully first, and take good backups.
* xqsync can help out, especially if your source and target are on different 
platforms.  But it can be good anyway.  Xqsync to a 2nd machine, test, clean 
the old machine, then xqsync from the 2nd machine back to the newly cleaned 1st 
machine.

Like all things like this, there is potential for a mistake to lead to data 
loss, so be careful and test it.

-Danny

-----Original Message-----
From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Khan, Kashif
Sent: Wednesday, July 20, 2011 6:19 AM
To: General MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Clarification on MarkLogic

One thing I forgot to mention is that when you recreate the database in
step 3 you do not have to configure it. Just give it the same name as
before and do the basic settings. It will inherit al the indexes and
search configurations etc once you restore the database from the backup.

I am sure you know this but just an FYI. When you take a backup of
batabase all the content is also backed up. So restoring the database will
also restore the content.


Best Regards,
Kashif Khan



On 7/20/11 9:09 AM, "Khan, Kashif" <kashif.k...@hmhpub.com> wrote:

>When you take a backup of a database all the settings you mentioned are
>also backed up. So when you restore the database all the settings will be
>restored.
>
>
>Best Regards,
>Kashif Khan
>
>
>
>On 7/20/11 9:22 AM, "Aiswarya" <aiswarya.venkatachalapa...@laserwords.com>
>wrote:
>
>>Hi Kashif Khan,
>>
>>Thanks for your quick reply. I can take the backup of the content and
>>restore it back. But, Is there any way to get a full report on the
>>available
>>databases configuration such as searches enabled, created range Indexes
>>(with their scalar type, namespace, collation, localname), created
>>lexicons,
>>enabled & created pipelines and so on. I will need all these to manually
>>recreate the databases. Could you please help me out!!
>>
>>Thanks
>>Aiswarya V
>>
>>-----Original Message-----
>>From: general-boun...@developer.marklogic.com
>>[mailto:general-boun...@developer.marklogic.com] On Behalf Of
>>general-requ...@developer.marklogic.com
>>Sent: Wednesday, July 20, 2011 6:02 PM
>>To: general@developer.marklogic.com
>>Subject: General Digest, Vol 85, Issue 68
>>
>>Send General mailing list submissions to
>>      general@developer.marklogic.com
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>      http://developer.marklogic.com/mailman/listinfo/general
>>or, via email, send a message with subject or body 'help' to
>>      general-requ...@developer.marklogic.com
>>
>>You can reach the person managing the list at
>>      general-ow...@developer.marklogic.com
>>
>>When replying, please edit your Subject line so it is more specific
>>than "Re: Contents of General digest..."
>>
>>
>>Today's Topics:
>>
>>   1. Reg: Wildcarded search doesn't return   fitness (ambika arumugam)
>>   2. Re: Clarification on MarkLogic (Khan, Kashif)
>>
>>
>>----------------------------------------------------------------------
>>
>>Message: 1
>>Date: Wed, 20 Jul 2011 16:40:27 +0530
>>From: ambika arumugam <ambikaarumuga...@gmail.com>
>>Subject: [MarkLogic Dev General] Reg: Wildcarded search doesn't return
>>      fitness
>>To: General MarkLogic Developer Discussion
>>      <general@developer.marklogic.com>
>>Message-ID:
>>      <CAESiW4HcttaTF=Pvky=fqvrmcb7oecfy4z-oqmd3xazbsoc...@mail.gmail.com>
>>Content-Type: text/plain; charset="iso-8859-1"
>>
>>Hi all,
>>
>>I am performing a search to return results with its fitness value
>>
>>let $options := <options xmlns="http://marklogic.com/appservices/search";>
>>    <term>
>>          <term-option>wildcarded</term-option>
>>    </term>
>></options>
>>
>>return search:search("the",$options)//search:result/@fitness
>>this returns me the results with its fitness
>>
>>but when i perform wildcarded search
>>
>> search:search("the*",$options)//search:result/@fitness
>>
>>it gives me the result but the values of fitness, score and confidence
>>are
>>zero.
>>
>>Am i missing something?
>>
>>I would like to get the relevance fitness values for all results while i
>>do
>>the wildcarded search.
>>
>>Regards
>>Ambika
>>-------------- next part --------------
>>An HTML attachment was scrubbed...
>>URL:
>>http://developer.marklogic.com/pipermail/general/attachments/20110720/c20
>>9
>>40
>>0f/attachment-0001.html
>>
>>------------------------------
>>
>>Message: 2
>>Date: Wed, 20 Jul 2011 08:28:27 -0400
>>From: "Khan, Kashif" <kashif.k...@hmhpub.com>
>>Subject: Re: [MarkLogic Dev General] Clarification on MarkLogic
>>To: General MarkLogic Developer Discussion
>>      <general@developer.marklogic.com>
>>Message-ID: <ca4c4095.699e%kashif.k...@hmhpub.com>
>>Content-Type: text/plain; charset="windows-1252"
>>
>>This should work for you unless someone else disagrees
>>
>> 1.  Just take a backup of the the databases that you need. Store this on
>>an
>>external drive.
>> 2.  Restore your machine.
>> 3.  Manually recreate the databases. I think you will have to keep the
>>same
>>name as before. At this point you will not have any content in the
>>databases
>> 4.  Restore the daatabase that you created in step 1 from the backup.
>>Best Regards,
>>Kashif Khan
>>Sr. Solutions Architect
>>Houghton Mifflin Harcourt, Orlando, FL
>>Office: (407) 345-3420
>>Cell: (407) 949-4697
>>
>>"The water you touch in the river is the last of that which has passed
>>and
>>the first of that which is coming" --Leonardo da Vinci
>>
>>
>>
>>From: Aiswarya
>><aiswarya.venkatachalapa...@laserwords.com<mailto:aiswarya.venkatachalapa
>>t
>>hy
>>@laserwords.com>>
>>Reply-To: General MarkLogic Developer Discussion
>><general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
>>Date: Wed, 20 Jul 2011 04:00:00 -0400
>>To:
>>"general@developer.marklogic.com<mailto:general@developer.marklogic.com>"
>><general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
>>Subject: [MarkLogic Dev General] Clarification on MarkLogic
>>
>>
>>Hi Guys,
>>
>>
>>
>>I desperately need your help.
>>
>>
>>
>>I need to format my machine but I don?t want to lose any of the content
>>or
>>configuration of MarkLogic(such as database, forest, pipelines
>>configuration
>>etc.,)of my machine. Is there something that I can take a back up of
>>whole
>>Mark Logic installed in my machine and roll back after formatting the
>>machine. Please help me out.
>>
>>
>>
>>Thanks
>>
>>Aiswarya V
>>
>>
>>-------------- next part --------------
>>An HTML attachment was scrubbed...
>>URL:
>>http://developer.marklogic.com/pipermail/general/attachments/20110720/6be
>>4
>>e9
>>9a/attachment.html
>>
>>------------------------------
>>
>>_______________________________________________
>>General mailing list
>>General@developer.marklogic.com
>>http://developer.marklogic.com/mailman/listinfo/general
>>
>>
>>End of General Digest, Vol 85, Issue 68
>>***************************************
>>
>>_______________________________________________
>>General mailing list
>>General@developer.marklogic.com
>>http://developer.marklogic.com/mailman/listinfo/general
>
>_______________________________________________
>General mailing list
>General@developer.marklogic.com
>http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to