xdmp.forestBackupStatus( forestid as (Number|String)[] ) as ObjectNode*
Checks the status of the specified forests for any outstanding backup jobs. Returns the specified forests portion a database backup status as a JSON node.
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:
forestName
forestId
forestStatus
directoryPath
directoryStatus
backupTime
action
restoreToTime
journalArchiving
journalArchivePath
journalArchivePathStatus
journalsStatus
forestUpdate
forestUpdateStatus
journalArchiveLagLimit
journalArchiveLagLimitStatus
mergeTimestampStatus
incrementalBackup
incrementalBackupPath
incrementalBackupPathStatus
fullBackupStatus
backupForests
This is an object with the following properties:
backupForest
This is an object with the following properties:
forestName
directoryStatus
xdmp.forestBackupStatus(xdmp.forest("My-Forest")); => { "jobId":"1261339155818839957", "forests": { "forestName":"bill", "forestId":"7201957734358937355", "status":"completed", "incrementalBackup":"false", "journalArchiving":"false" } }
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.