Arvind Kr
Arvind Kr

Reputation: 177

Monitor backup and restore in Marklogic

I have a requirement to setup a process to monitor backup and restore in Marklogic. Which can send alert message or notification after failure of database backup and restore.

I find a function xdmp:database-backup-status which gives status of backup running in background. Didn't find a function which can tell us that last backup up has failed or success any time after the completion of the backup or restore.

Does any one have idea about tools or any logic that can help me to create such process

Thanks in advance!

Upvotes: 2

Views: 126

Answers (1)

Rob S.
Rob S.

Reputation: 3609

This knowledge base article walks through a couple ways to determine the last backup and last restore dates.

Both xdmp:database-backup-status and xdmp:database-restore-status should tell you if the backup or restore was completed successfully or not. Additionally, looking through the status information retrieved in the knowledge base article I linked to should also reveal that information as well.

Upvotes: 2

Related Questions