xdmp.forestBackup( forestID as (Number|String), pathname as String ) as null
Backs up forest data files.
http://marklogic.com/xdmp/privileges/xdmp-forest-backup
http://marklogic.com/xdmp/privileges/xdmp-forest-backup/forest/{id}
http://marklogic.com/xdmp/privileges/xdmp-forest-backup/database/{id}
Reindexing will stop while a backup or restore is in progress.
xdmp.forestBackup(xdmp.forest("Documents"),"/space/backups"); => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.