xdmp:forest-backup-status( $forestid as xs:unsignedLong* ) as element()*
Checks the status of the specified forests for any outstanding backup jobs.
Returns the specified forests portion a database backup status
node defined
in the job-status.xsd
schema.
Parameters | |
---|---|
forestid | One or more forest IDs. |
http://marklogic.com/xdmp/privileges/xdmp-database-backup-status
The structure of the data returned is as follows:
forest
This is a complex element with the following element children:
forest-name
forest-id
status
restore-to-time
journal-archiving
journal-archive-path
safe-restore-to-time
journal-archive-lag-limit
host-name
backup-path
incremental-backup-path
job-id
status
xdmp:forest-backup-status(33030877979801813489, 16529920850295602277) => <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:forest> <job:forest-name>Documents</job:forest-name> <job:forest-id>9157142760003704384</job:forest-id> <job:status>in-progress</job:status> <job:journal-archiving>true</job:journal-archiving> <job:journal-archive-path>/backup/JournalArchive</job:journal-archive-path> <job:journal-archive-lag-limit>15</job:journal-archive-lag-limit> </job:forest> </job:job-status>
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.