xdmp:database-journal-archive-purge( $dir as xs:string, [$incremental-dir as xs:string], [$journal-archive-path as xs:string] ) as empty-sequence()
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:database-journal-archive-purge("/my/backupdir/", "/my/incrementaldir") => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.