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-name
forest-id
forest-status
directory-path
directory-status
backup-time
action
restore-to-time
journal-archiving
journal-archive-path
journal-archive-path-status
journals-status
forest-update
forest-update-status
journal-archive-lag-limit
journal-archive-lag-limit-status
merge-timestamp-status
incremental-backup
incremental-backup-path
incremental-backup-path-status
full-backup-status
backup-forests
This is a complex element with the following element children:
backup-forest
This is a complex element with the following element children:
forest-name
directory-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.