xdmp.databaseJournalArchivePurge( dir as String, [incremental-dir as String], [journal-archive-path as String] ) as null
Purge journal archive before last incremental backup from a directory.
http://marklogic.com/xdmp/privileges/xdmp-database-backup-purge
http://marklogic.com/xdmp/privileges/xdmp-database-backup-purge/database/{id}
xdmp.databaseJournalArchivePurge("/my/backupdir/", "/my/incrementaldir"); => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.