xdmp:start-journal-archiving( $forestIDs as xs:unsignedLong*, $journal-archive-path as xs:string, [$lag-limit as xs:unsignedLong?] ) as empty-sequence()
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:start-journal-archiving( xdmp:database-forests(xdmp:database("Documents")),"/backups/Data",500)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.