问题描述
我们当前正在使用计划备份来进行每日数据库备份.从过去几天开始,我们在备份时发现许多问题.备份过程执行了几个小时,但没有完成.我们还查看了日志,但没有提及计划备份.我们有以下问题-
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)如果您不描述他的失败,几乎没有人可以提供指导.
1) If you don't describe he failures, there is little people can do to give guidance.
2) 记录林备份信息.您可以使用标准的日志监视/警报工具来管理警报.请记住,日志消息是针对每个目录林的,因此您可能需要仔细查看lg消息,以了解何时完成了完整"或失败"备份.
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)根据数字(2)的结果,您可以决定通过管理API开始新的备份.参见此处: http://docs.marklogic.com/REST/POST/manage/v2/databases/[id-or-name] #BackupDB
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
这篇关于Marklogic 计划备份失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!