Loading TOC...

xdmp:database-restore-status

xdmp:database-restore-status(
   $jobid as xs:unsignedLong
) as element()

Summary

Checks the status of the outstanding restore job with the specified job ID. Returns a database restore status node.

Parameters
jobid A restore job ID.

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-database-restore-status

Example

xdmp:database-restore-status(15810433344251984001)
=>
<job:job-status xsi:schemaLocation="http://marklogic.com/xdmp/job-status job-status.xsd"
  xmlns:job="http://marklogic.com/xdmp/job-status" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <job:status>completed</job:status>
  <job:forest>
    <job:forest-name>Documents</job:forest-name>
    <job:forest-id>15810433344251984001</job:forest-id>
    <job:status>completed</job:status>
    <job:journal-archiving>false</job:journal-archiving>
  </job:forest>
</job:job-status>

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.