
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:
forestNameforestIdforestStatusdirectoryPathdirectoryStatusbackupTimeactionrestoreToTimejournalArchivingjournalArchivePathjournalArchivePathStatusjournalsStatusforestUpdateforestUpdateStatusjournalArchiveLagLimitjournalArchiveLagLimitStatusmergeTimestampStatusincrementalBackupincrementalBackupPathincrementalBackupPathStatusfullBackupStatusbackupForestsThis is an object with the following properties:
backupForestThis is an object with the following properties:
forestNamedirectoryStatus
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.