"purge-journal-archiving" 设置在哪里?

Where is the "purge-journal-archiving" setting?

我正在尝试在 MarkLogic 中使用日志归档设置增量备份,但我很难在管理界面中找到设置“清除日志归档”。为了设置这个,“purge-journal-archiving”需要设置为“true”。我已经检查了数据库的配置页面,在设置备份时没有什么可以指定的。我不知道我是否在某处遗漏了什么。我需要通过 Rest API 调用它吗?

这方面的文档没有提供关于在哪里更改它的明确方向。

Incremental Backup with Journal Archiving

Incremental backup improves restore both time and space requirements over journal archiving, but it's not an either/or decision. You can, and should, use both where appropriate. If your goal is to be able to restore to any arbitrary point in time, while minimizing potential data loss, we suggest the following:

  1. Configure a scheduled full backup at some coarse granularity (for example, weekly) and enable journal archiving
  2. Configure a scheduled incremental backup as some finer granularity (for example, hourly), and specify purge-journal-archiving=true.
  3. Set retain until backup on the database Merge Policy so that deleted fragments are retained until they have been included in an incremental backup. See Setting Merge Policy or admin:database-set-retain-until-backup for details.

我在 UI 中找不到清除日志归档设置。我认为一旦您选择了一个数据库,它就会出现在计划备份页面上,但在那里找不到它。

您可以通过其他几种方式更改此设置。