xdmp.startJournalArchiving( forestIDs as (Number|String)[], journal-archive-path as String, [lag-limit as (Number|String)?] ) as null
Starts journal archiving to the specified list of forests.
http://marklogic.com/xdmp/privileges/xdmp-database-backup
http://marklogic.com/xdmp/privileges/xdmp-database-backup/database/{id}
xdmp.startJournalArchiving( xdmp.databaseForests(xdmp.database("Documents")),"/backups/Data",500);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.