Marklogic scheduled backups failing

北城余情 提交于 2019-12-13 17:30:56

问题


We are currently using scheduled backups to have daily database backups. We are observing many problems in taking backups from past few days. The backup process executes for several hours but didn't get completed. We also had a look at the logs, but there is nothing mentioned for scheduled backup. We have following questions -

  1. By any means, can we make it more consistent and stop such things?
  2. Is there a way to get some kind of notification/email after the certain time if scheduled backup isn't successfully completed until that time.
  3. Can we also have a retry mechanism on the failure of scheduled backup?

回答1:


For your points:

1) If you don't describe he failures, there is little people can do to give guidance.

2) The forest backup information is logged. You can use standard log monitoring/alerting tools to manage alerts. Keep in mind that the log messages are per forest, so you may need to look closely at the lg messages for when a 'complete' or 'failed' backup are done.

3) From the result of number (2), you may decide to kick-off a new backup via the management API. See here: http://docs.marklogic.com/REST/POST/manage/v2/databases/[id-or-name]#BackupDB



来源:https://stackoverflow.com/questions/41282354/marklogic-scheduled-backups-failing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!