xdmp.forestRestore( forestID as (Number|String), pathname as String ) as null
Restores forest data files. Restarts the forest to complete the restoration.
Parameters | |
---|---|
forestID | A forest ID. |
pathname | A forest backup pathname. |
http://marklogic.com/xdmp/privileges/xdmp-forest-restore
http://marklogic.com/xdmp/privileges/xdmp-forest-restore/forest/{id}
http://marklogic.com/xdmp/privileges/xdmp-forest-restore/database/{id}
Reindexing will stop while a backup or restore is in progress.
xdmp.forestRestore(xdmp.forest("My-Forest"),"/backups/Data/Forests/Documents");