It looks like the issue was related to permissions on the file system that held 
the backup directories. We relocated them and ensured that they were owned by 
the ML server’s user and now I’m able to restore into ML 8 (or at least the 
restore has started). Was able to restore into ML 4, which of course should 
work no problem.

Cheers,

E.

--
Eliot Kimber
http://contrext.com
 


On 7/27/17, 1:41 PM, "general-boun...@developer.marklogic.com on behalf of 
Eliot Kimber" <general-boun...@developer.marklogic.com on behalf of 
ekim...@contrext.com> wrote:

    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
    General@developer.marklogic.com
    Manage your subscription at: 
    http://developer.marklogic.com/mailman/listinfo/general
    


_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to