I am trying to setup incremental backups with journal archiving in MarkLogic, but I am having a hard time finding the setting "purge-journal-archiving" in the admin interface. In order to setup this up "purge-journal-archiving" needs to be set to "true". I have checked in the database's configure page and there is nothing to specify this while setting up the backup. I don't know if im missing something somewhere. Do I need to call it via the Rest API?
The documentation for this does not provide clear direction on where to change this.
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:
- Configure a scheduled full backup at some coarse granularity (for example, weekly) and enable journal archiving
- Configure a scheduled incremental backup as some finer granularity (for example, hourly), and specify
purge-journal-archiving=true
.- 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.