I have a backup from an ML 4.2 database that I’m trying to restore to an ML 8 
server. The database configurations are (or should be) the same between both 
servers and both are running on Linux servers.

If I have the same set of forests defined on the ML 8 server as in the backup 
then when I go to the restore screen it lists all the forests in the backup but 
all their check boxes are unchecked and greyed out. If I delete some of the 
forests from the ML 8 server then those forests are selected and not greyed out.

But…

When I proceed with the restore I consistently get failures like this:

Operation failed with error message: XDMP-NOFOREST: 
xdmp:database-restore((xs:unsignedLong("5211046837612715608"), 
xs:unsignedLong("5138674030818805002")), "/marklogic/backup/rsuite/20170726-1", 
(), fn:false(), (), fn:false(), ()) -- No forest with identifier 
5211046837612715608. Check server logs.

I’m not seeing any other errors in the ErrorLog.txt log

I didn’t see anything in the ML 8 backup and restore docs that suggested what 
the issue might be.

The 5211046837612715608 value comes from databases.xml and I see a mapping for 
this ID in the assignments.xml file:

  <assignment>
    <forest-name>rsuite02</forest-name>
    <enabled>true</enabled>
    <host>14194071972761628339</host>
    <data-directory>/somedir/MarkLogic</data-directory>
    <updates-allowed>all</updates-allowed>
    <failover-enable>false</failover-enable>
    <failover-hosts/>
    <forest-id>5211046837612715608</forest-id>
    <forest-backups/>
    <forest-replicas/>
</assignment>

And there is a directory Forests/rsuite02 in the backup.

Any idea what would be causing this failure?

Thanks,

Eliot
--
Eliot Kimber
http://contrext.com
 



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

Reply via email to